Locator |
Locator.and(Locator locator) |
Creates a locator that matches both this locator and the argument locator.
|
default Locator |
Locator.filter() |
This method narrows existing locator according to the options, for example filters by text.
|
Locator |
Locator.filter(Locator.FilterOptions options) |
This method narrows existing locator according to the options, for example filters by text.
|
Locator |
Locator.first() |
Returns locator to the first matching element.
|
default Locator |
Frame.getByAltText(java.lang.String text) |
Allows locating elements by their alt text.
|
Locator |
Frame.getByAltText(java.lang.String text,
Frame.GetByAltTextOptions options) |
Allows locating elements by their alt text.
|
default Locator |
Frame.getByAltText(java.util.regex.Pattern text) |
Allows locating elements by their alt text.
|
Locator |
Frame.getByAltText(java.util.regex.Pattern text,
Frame.GetByAltTextOptions options) |
Allows locating elements by their alt text.
|
default Locator |
FrameLocator.getByAltText(java.lang.String text) |
Allows locating elements by their alt text.
|
Locator |
FrameLocator.getByAltText(java.lang.String text,
FrameLocator.GetByAltTextOptions options) |
Allows locating elements by their alt text.
|
default Locator |
FrameLocator.getByAltText(java.util.regex.Pattern text) |
Allows locating elements by their alt text.
|
Locator |
FrameLocator.getByAltText(java.util.regex.Pattern text,
FrameLocator.GetByAltTextOptions options) |
Allows locating elements by their alt text.
|
default Locator |
Locator.getByAltText(java.lang.String text) |
Allows locating elements by their alt text.
|
Locator |
Locator.getByAltText(java.lang.String text,
Locator.GetByAltTextOptions options) |
Allows locating elements by their alt text.
|
default Locator |
Locator.getByAltText(java.util.regex.Pattern text) |
Allows locating elements by their alt text.
|
Locator |
Locator.getByAltText(java.util.regex.Pattern text,
Locator.GetByAltTextOptions options) |
Allows locating elements by their alt text.
|
default Locator |
Page.getByAltText(java.lang.String text) |
Allows locating elements by their alt text.
|
Locator |
Page.getByAltText(java.lang.String text,
Page.GetByAltTextOptions options) |
Allows locating elements by their alt text.
|
default Locator |
Page.getByAltText(java.util.regex.Pattern text) |
Allows locating elements by their alt text.
|
Locator |
Page.getByAltText(java.util.regex.Pattern text,
Page.GetByAltTextOptions options) |
Allows locating elements by their alt text.
|
default Locator |
Frame.getByLabel(java.lang.String text) |
Allows locating input elements by the text of the associated <label> or aria-labelledby element, or by
the aria-label attribute.
|
Locator |
Frame.getByLabel(java.lang.String text,
Frame.GetByLabelOptions options) |
Allows locating input elements by the text of the associated <label> or aria-labelledby element, or by
the aria-label attribute.
|
default Locator |
Frame.getByLabel(java.util.regex.Pattern text) |
Allows locating input elements by the text of the associated <label> or aria-labelledby element, or by
the aria-label attribute.
|
Locator |
Frame.getByLabel(java.util.regex.Pattern text,
Frame.GetByLabelOptions options) |
Allows locating input elements by the text of the associated <label> or aria-labelledby element, or by
the aria-label attribute.
|
default Locator |
FrameLocator.getByLabel(java.lang.String text) |
Allows locating input elements by the text of the associated <label> or aria-labelledby element, or by
the aria-label attribute.
|
Locator |
FrameLocator.getByLabel(java.lang.String text,
FrameLocator.GetByLabelOptions options) |
Allows locating input elements by the text of the associated <label> or aria-labelledby element, or by
the aria-label attribute.
|
default Locator |
FrameLocator.getByLabel(java.util.regex.Pattern text) |
Allows locating input elements by the text of the associated <label> or aria-labelledby element, or by
the aria-label attribute.
|
Locator |
FrameLocator.getByLabel(java.util.regex.Pattern text,
FrameLocator.GetByLabelOptions options) |
Allows locating input elements by the text of the associated <label> or aria-labelledby element, or by
the aria-label attribute.
|
default Locator |
Locator.getByLabel(java.lang.String text) |
Allows locating input elements by the text of the associated <label> or aria-labelledby element, or by
the aria-label attribute.
|
Locator |
Locator.getByLabel(java.lang.String text,
Locator.GetByLabelOptions options) |
Allows locating input elements by the text of the associated <label> or aria-labelledby element, or by
the aria-label attribute.
|
default Locator |
Locator.getByLabel(java.util.regex.Pattern text) |
Allows locating input elements by the text of the associated <label> or aria-labelledby element, or by
the aria-label attribute.
|
Locator |
Locator.getByLabel(java.util.regex.Pattern text,
Locator.GetByLabelOptions options) |
Allows locating input elements by the text of the associated <label> or aria-labelledby element, or by
the aria-label attribute.
|
default Locator |
Page.getByLabel(java.lang.String text) |
Allows locating input elements by the text of the associated <label> or aria-labelledby element, or by
the aria-label attribute.
|
Locator |
Page.getByLabel(java.lang.String text,
Page.GetByLabelOptions options) |
Allows locating input elements by the text of the associated <label> or aria-labelledby element, or by
the aria-label attribute.
|
default Locator |
Page.getByLabel(java.util.regex.Pattern text) |
Allows locating input elements by the text of the associated <label> or aria-labelledby element, or by
the aria-label attribute.
|
Locator |
Page.getByLabel(java.util.regex.Pattern text,
Page.GetByLabelOptions options) |
Allows locating input elements by the text of the associated <label> or aria-labelledby element, or by
the aria-label attribute.
|
default Locator |
Frame.getByPlaceholder(java.lang.String text) |
Allows locating input elements by the placeholder text.
|
Locator |
Frame.getByPlaceholder(java.lang.String text,
Frame.GetByPlaceholderOptions options) |
Allows locating input elements by the placeholder text.
|
default Locator |
Frame.getByPlaceholder(java.util.regex.Pattern text) |
Allows locating input elements by the placeholder text.
|
Locator |
Frame.getByPlaceholder(java.util.regex.Pattern text,
Frame.GetByPlaceholderOptions options) |
Allows locating input elements by the placeholder text.
|
default Locator |
FrameLocator.getByPlaceholder(java.lang.String text) |
Allows locating input elements by the placeholder text.
|
Locator |
FrameLocator.getByPlaceholder(java.lang.String text,
FrameLocator.GetByPlaceholderOptions options) |
Allows locating input elements by the placeholder text.
|
default Locator |
FrameLocator.getByPlaceholder(java.util.regex.Pattern text) |
Allows locating input elements by the placeholder text.
|
Locator |
FrameLocator.getByPlaceholder(java.util.regex.Pattern text,
FrameLocator.GetByPlaceholderOptions options) |
Allows locating input elements by the placeholder text.
|
default Locator |
Locator.getByPlaceholder(java.lang.String text) |
Allows locating input elements by the placeholder text.
|
Locator |
Locator.getByPlaceholder(java.lang.String text,
Locator.GetByPlaceholderOptions options) |
Allows locating input elements by the placeholder text.
|
default Locator |
Locator.getByPlaceholder(java.util.regex.Pattern text) |
Allows locating input elements by the placeholder text.
|
Locator |
Locator.getByPlaceholder(java.util.regex.Pattern text,
Locator.GetByPlaceholderOptions options) |
Allows locating input elements by the placeholder text.
|
default Locator |
Page.getByPlaceholder(java.lang.String text) |
Allows locating input elements by the placeholder text.
|
Locator |
Page.getByPlaceholder(java.lang.String text,
Page.GetByPlaceholderOptions options) |
Allows locating input elements by the placeholder text.
|
default Locator |
Page.getByPlaceholder(java.util.regex.Pattern text) |
Allows locating input elements by the placeholder text.
|
Locator |
Page.getByPlaceholder(java.util.regex.Pattern text,
Page.GetByPlaceholderOptions options) |
Allows locating input elements by the placeholder text.
|
default Locator |
Frame.getByRole(AriaRole role) |
|
Locator |
Frame.getByRole(AriaRole role,
Frame.GetByRoleOptions options) |
|
default Locator |
FrameLocator.getByRole(AriaRole role) |
|
Locator |
FrameLocator.getByRole(AriaRole role,
FrameLocator.GetByRoleOptions options) |
|
default Locator |
Locator.getByRole(AriaRole role) |
|
Locator |
Locator.getByRole(AriaRole role,
Locator.GetByRoleOptions options) |
|
default Locator |
Page.getByRole(AriaRole role) |
|
Locator |
Page.getByRole(AriaRole role,
Page.GetByRoleOptions options) |
|
Locator |
Frame.getByTestId(java.lang.String testId) |
Locate element by the test id.
|
Locator |
Frame.getByTestId(java.util.regex.Pattern testId) |
Locate element by the test id.
|
Locator |
FrameLocator.getByTestId(java.lang.String testId) |
Locate element by the test id.
|
Locator |
FrameLocator.getByTestId(java.util.regex.Pattern testId) |
Locate element by the test id.
|
Locator |
Locator.getByTestId(java.lang.String testId) |
Locate element by the test id.
|
Locator |
Locator.getByTestId(java.util.regex.Pattern testId) |
Locate element by the test id.
|
Locator |
Page.getByTestId(java.lang.String testId) |
Locate element by the test id.
|
Locator |
Page.getByTestId(java.util.regex.Pattern testId) |
Locate element by the test id.
|
default Locator |
Frame.getByText(java.lang.String text) |
Allows locating elements that contain given text.
|
Locator |
Frame.getByText(java.lang.String text,
Frame.GetByTextOptions options) |
Allows locating elements that contain given text.
|
default Locator |
Frame.getByText(java.util.regex.Pattern text) |
Allows locating elements that contain given text.
|
Locator |
Frame.getByText(java.util.regex.Pattern text,
Frame.GetByTextOptions options) |
Allows locating elements that contain given text.
|
default Locator |
FrameLocator.getByText(java.lang.String text) |
Allows locating elements that contain given text.
|
Locator |
FrameLocator.getByText(java.lang.String text,
FrameLocator.GetByTextOptions options) |
Allows locating elements that contain given text.
|
default Locator |
FrameLocator.getByText(java.util.regex.Pattern text) |
Allows locating elements that contain given text.
|
Locator |
FrameLocator.getByText(java.util.regex.Pattern text,
FrameLocator.GetByTextOptions options) |
Allows locating elements that contain given text.
|
default Locator |
Locator.getByText(java.lang.String text) |
Allows locating elements that contain given text.
|
Locator |
Locator.getByText(java.lang.String text,
Locator.GetByTextOptions options) |
Allows locating elements that contain given text.
|
default Locator |
Locator.getByText(java.util.regex.Pattern text) |
Allows locating elements that contain given text.
|
Locator |
Locator.getByText(java.util.regex.Pattern text,
Locator.GetByTextOptions options) |
Allows locating elements that contain given text.
|
default Locator |
Page.getByText(java.lang.String text) |
Allows locating elements that contain given text.
|
Locator |
Page.getByText(java.lang.String text,
Page.GetByTextOptions options) |
Allows locating elements that contain given text.
|
default Locator |
Page.getByText(java.util.regex.Pattern text) |
Allows locating elements that contain given text.
|
Locator |
Page.getByText(java.util.regex.Pattern text,
Page.GetByTextOptions options) |
Allows locating elements that contain given text.
|
default Locator |
Frame.getByTitle(java.lang.String text) |
Allows locating elements by their title attribute.
|
Locator |
Frame.getByTitle(java.lang.String text,
Frame.GetByTitleOptions options) |
Allows locating elements by their title attribute.
|
default Locator |
Frame.getByTitle(java.util.regex.Pattern text) |
Allows locating elements by their title attribute.
|
Locator |
Frame.getByTitle(java.util.regex.Pattern text,
Frame.GetByTitleOptions options) |
Allows locating elements by their title attribute.
|
default Locator |
FrameLocator.getByTitle(java.lang.String text) |
Allows locating elements by their title attribute.
|
Locator |
FrameLocator.getByTitle(java.lang.String text,
FrameLocator.GetByTitleOptions options) |
Allows locating elements by their title attribute.
|
default Locator |
FrameLocator.getByTitle(java.util.regex.Pattern text) |
Allows locating elements by their title attribute.
|
Locator |
FrameLocator.getByTitle(java.util.regex.Pattern text,
FrameLocator.GetByTitleOptions options) |
Allows locating elements by their title attribute.
|
default Locator |
Locator.getByTitle(java.lang.String text) |
Allows locating elements by their title attribute.
|
Locator |
Locator.getByTitle(java.lang.String text,
Locator.GetByTitleOptions options) |
Allows locating elements by their title attribute.
|
default Locator |
Locator.getByTitle(java.util.regex.Pattern text) |
Allows locating elements by their title attribute.
|
Locator |
Locator.getByTitle(java.util.regex.Pattern text,
Locator.GetByTitleOptions options) |
Allows locating elements by their title attribute.
|
default Locator |
Page.getByTitle(java.lang.String text) |
Allows locating elements by their title attribute.
|
Locator |
Page.getByTitle(java.lang.String text,
Page.GetByTitleOptions options) |
Allows locating elements by their title attribute.
|
default Locator |
Page.getByTitle(java.util.regex.Pattern text) |
Allows locating elements by their title attribute.
|
Locator |
Page.getByTitle(java.util.regex.Pattern text,
Page.GetByTitleOptions options) |
Allows locating elements by their title attribute.
|
Locator |
Locator.last() |
Returns locator to the last matching element.
|
default Locator |
Frame.locator(java.lang.String selector) |
The method returns an element locator that can be used to perform actions on this page / frame.
|
Locator |
Frame.locator(java.lang.String selector,
Frame.LocatorOptions options) |
The method returns an element locator that can be used to perform actions on this page / frame.
|
default Locator |
FrameLocator.locator(Locator selectorOrLocator) |
The method finds an element matching the specified selector in the locator's subtree.
|
Locator |
FrameLocator.locator(Locator selectorOrLocator,
FrameLocator.LocatorOptions options) |
The method finds an element matching the specified selector in the locator's subtree.
|
default Locator |
FrameLocator.locator(java.lang.String selectorOrLocator) |
The method finds an element matching the specified selector in the locator's subtree.
|
Locator |
FrameLocator.locator(java.lang.String selectorOrLocator,
FrameLocator.LocatorOptions options) |
The method finds an element matching the specified selector in the locator's subtree.
|
default Locator |
Locator.locator(Locator selectorOrLocator) |
The method finds an element matching the specified selector in the locator's subtree.
|
Locator |
Locator.locator(Locator selectorOrLocator,
Locator.LocatorOptions options) |
The method finds an element matching the specified selector in the locator's subtree.
|
default Locator |
Locator.locator(java.lang.String selectorOrLocator) |
The method finds an element matching the specified selector in the locator's subtree.
|
Locator |
Locator.locator(java.lang.String selectorOrLocator,
Locator.LocatorOptions options) |
The method finds an element matching the specified selector in the locator's subtree.
|
default Locator |
Page.locator(java.lang.String selector) |
The method returns an element locator that can be used to perform actions on this page / frame.
|
Locator |
Page.locator(java.lang.String selector,
Page.LocatorOptions options) |
The method returns an element locator that can be used to perform actions on this page / frame.
|
Locator |
Locator.nth(int index) |
Returns locator to the n-th matching element.
|
Locator |
Locator.or(Locator locator) |
Creates a locator that matches either of the two locators.
|