sidebar_label |
---|
Frame.locator_1 |
Creates a locator for the provided function. See Locator for details and supported actions.
class Frame {
locator<Ret>(func: () => Awaitable<Ret>): Locator<Ret>;
}
Parameter |
Type |
Description |
---|---|---|
func |
() => Awaitable<Ret> |
Locator<Ret>
Locators API is experimental and we will not follow semver for breaking change in the Locators API.