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
No reviews yet. Be the first to review!
Sign in to join the conversation
Launches a browser session. Parameters: browser (required, string), options (optional, object) with properties headless (boolean) and 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, default: 10000)
Clicks an element. Parameters: by (required, string), value (required, string), timeout (optional, number, default: 10000)
Sends keys to an element (typing). Parameters: by (required, string), value (required, string), text (required, string), timeout (optional, number, default: 10000)
Gets the text() of an element. Parameters: by (required, string), value (required, string), timeout (optional, number, default: 10000)
Moves the mouse to hover over an element. Parameters: by (required, string), value (required, string), timeout (optional, number, default: 10000)
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, default: 10000)
Performs a double click on an element. Parameters: by (required, string), value (required, string), timeout (optional, number, default: 10000)
Performs a right click (context click) on an element. Parameters: by (required, string), value (required, string), timeout (optional, number, default: 10000)
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, default: 10000)
Captures a screenshot of the current page. Parameters: outputPath (optional, string)
Closes the current browser session and cleans up resources. Parameters: None required