Optional
abilityOptional
callStatic
onspecify which element should be clicked on
the string representing the locator.
Optional
options: ClickActionOptions(optional) options for the click action.
new Click instance
simple call with just locator
Click.on(
page.locator('myLocator')
);
with options
Click.on(
page.locator('myLocator'),
{ timeout: 3000 }
);
Generated using TypeDoc
Click on an element specified by a locator string.