Skip to contents

Locator Class

Locator Class

Methods


Method and()

Usage

Locator$and()


Method content_frame()

Usage

Locator$content_frame()


Method drag_to()

Usage

Locator$drag_to()


Method evaluate()

Usage

Locator$evaluate()


Method evaluate_all()

Usage

Locator$evaluate_all()


Method evaluate_handle()

Usage

Locator$evaluate_handle()


Method filter()

Usage

Locator$filter()


Method frame_locator()

Usage

Locator$frame_locator()


Method or()

Usage

Locator$or()


Method page()

Usage

Locator$page()


Method set_input_files()

Usage

Locator$set_input_files()


Method tap()

Usage

Locator$tap()


Method all()

Usage

Locator$all(...)


Method all_inner_texts()

Usage

Locator$all_inner_texts(...)


Method all_text_contents()

Usage

Locator$all_text_contents(...)


Method blur()

Usage

Locator$blur(...)


Method bounding_box()

Usage

Locator$bounding_box(...)


Method check()

Usage

Locator$check(...)


Method clear()

Usage

Locator$clear(...)


Method click()

Usage

Locator$click(...)


Method count()

Usage

Locator$count(...)


Method dblclick()

Usage

Locator$dblclick(...)


Method dispatch_event()

Usage

Locator$dispatch_event(...)


Method fill()

Usage

Locator$fill(...)


Method first()

Usage

Locator$first(...)


Method focus()

Usage

Locator$focus(...)


Method get_attribute()

Usage

Locator$get_attribute(...)


Method get_by_alt_text()

Usage

Locator$get_by_alt_text(...)


Method get_by_label()

Usage

Locator$get_by_label(...)


Method get_by_placeholder()

Usage

Locator$get_by_placeholder(...)


Method get_by_role()

Usage

Locator$get_by_role(...)


Method get_by_test_id()

Usage

Locator$get_by_test_id(...)


Method get_by_text()

Usage

Locator$get_by_text(...)


Method get_by_title()

Usage

Locator$get_by_title(...)


Method highlight()

Usage

Locator$highlight(...)


Method hover()

Usage

Locator$hover(...)


Method inner_h_t_m_l()

Usage

Locator$inner_h_t_m_l(...)


Method inner_text()

Usage

Locator$inner_text(...)


Method input_value()

Usage

Locator$input_value(...)


Method is_checked()

Usage

Locator$is_checked(...)


Method is_disabled()

Usage

Locator$is_disabled(...)


Method is_editable()

Usage

Locator$is_editable(...)


Method is_enabled()

Usage

Locator$is_enabled(...)


Method is_hidden()

Usage

Locator$is_hidden(...)


Method is_visible()

Usage

Locator$is_visible(...)


Method last()

Usage

Locator$last(...)


Method locator()

Usage

Locator$locator(...)


Method nth()

Usage

Locator$nth(...)


Method parent()

Usage

Locator$parent(...)


Method press()

Usage

Locator$press(...)


Method press_sequentially()

Usage

Locator$press_sequentially(...)


Method screenshot()

Usage

Locator$screenshot(...)


Method scroll_into_view_if_needed()

Usage

Locator$scroll_into_view_if_needed(...)


Method select_option()

Usage

Locator$select_option(...)


Method select_text()

Usage

Locator$select_text(...)


Method set_checked()

Usage

Locator$set_checked(...)


Method text_content()

Usage

Locator$text_content(...)


Method uncheck()

Usage

Locator$uncheck(...)


Method wait_for()

Usage

Locator$wait_for(...)


Method new()

Usage

Locator$new(parent)


Method clone()

The objects of this class are cloneable with this method.

Usage

Locator$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.