click
Click on an element matching the selector.Deprecated: Use locator.click() instead.
dblclick
Double-click on an element matching the selector.Deprecated: Use locator.dblclick() instead.
fill
Fill an input element with the given value.Deprecated: Use locator.fill() instead.
type
Type text into an element (sends keydown, keypress/input, keyup events for each character).Deprecated: Use locator.pressSequentially() instead.
press
Focus an element and press a key combination.Deprecated: Use locator.press() instead.
hover
Hover over an element.Deprecated: Use locator.hover() instead.
focus
Focus on an element.Deprecated: Use locator.focus() instead.
tap
Tap on an element (for touch devices).Deprecated: Use locator.tap() instead.
check
Check a checkbox or radio button.Deprecated: Use locator.check() instead.
uncheck
Uncheck a checkbox.Deprecated: Use locator.uncheck() instead.
setChecked
Set the checked state of a checkbox.Deprecated: Use locator.setChecked() instead.
selectOption
Select one or more options in a <select> element.Deprecated: Use locator.selectOption() instead.
Return value
setInputFiles
Set input files for a file input element.Deprecated: Use locator.setInputFiles() instead.
dispatchEvent
Dispatch a DOM event on an element.Deprecated: Use locator.dispatchEvent() instead.

