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 (string - required), options (object - optional)
Navigates to a URL. Parameters: url (string - required)
Performs a mouse action on an element. Parameters: action (string - required), by (string - required), value (string - required), timeout (number - optional)
Types text into an element. Clears the field first. Parameters: by (string - required), value (string - required), text (string - required), timeout (number - optional)
Gets the text content of an element. Parameters: by (string - required), value (string - required), timeout (number - optional)
Gets an attribute value from an element. Parameters: by (string - required), value (string - required), attribute (string - required), timeout (number - optional)
Presses a keyboard key. Parameters: key (string - required)
Uploads a file via a file input element. Parameters: by (string - required), value (string - required), filePath (string - required), timeout (number - optional)
Captures a screenshot of the current page. Parameters: outputPath (string - optional)
Closes the current browser session. No parameters.
Executes JavaScript in the browser. Use for advanced interactions not covered by other tools. Parameters: script (string - required), args (array - optional)
Manages browser windows and tabs. Parameters: action (string - required), handle (string - optional)
Switches focus to a frame or back to the main page. Parameters: action (string - required), by (string - optional), value (string - optional), index (number - optional), timeout (number - optional)
Handles browser alert, confirm, or prompt dialogs. Parameters: action (string - required), text (string - optional), timeout (number - optional)
Adds a cookie. Parameters: name (string - required), value (string - required), domain (string - optional), path (string - optional), secure (boolean - optional), httpOnly (boolean - optional), expiry (number - optional)
Gets cookies. Returns all or a specific one by name. Parameters: name (string - optional)
Deletes cookies. Deletes all or a specific one by name. Parameters: name (string - optional)
Gets browser diagnostics captured via WebDriver BiDi. Parameters: type (string - required), clear (boolean - optional)