Navigate to URLs Find elements using various locator strategies Click, type, and interact with elements Perform mouse actions (hover, drag and drop) Handle keyboard input Take screenshots Upload files
Launches a browser session. Parameters: browser (required, string), options (optional, object: headless (boolean), arguments (array of strings))
Navigates to a URL. Parameters: url (required, string)
Finds an element on the page. Parameters: by (required, string), value (required, string), timeout (optional, number)
Clicks an element. Parameters: by (required, string), value (required, string), timeout (optional, number)
Sends keys to an element (typing). Parameters: by (required, string), value (required, string), text (required, string), timeout (optional, number)
Gets the text() of an element. Parameters: by (required, string), value (required, string), timeout (optional, number)
Moves the mouse to hover over an element. Parameters: by (required, string), value (required, string), timeout (optional, number)
Drags an element and drops it onto another element. Parameters: by (required, string), value (required, string), targetBy (required, string), targetValue (required, string), timeout (optional, number)
Performs a double click on an element. Parameters: by (required, string), value (required, string), timeout (optional, number)
Performs a right click (context click) on an element. Parameters: by (required, string), value (required, string), timeout (optional, number)
Simulates pressing a keyboard key. Parameters: key (required, string)
Uploads a file using a file input element. Parameters: by (required, string), value (required, string), filePath (required, string), timeout (optional, number)
Captures a screenshot of the current page. Parameters: outputPath (optional, string)
Closes the current browser session and cleans up resources. Parameters: None required
No reviews yet. Be the first to review!
Sign in to join the conversation