Selenium
Summary
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
Available Actions(14)
start_browser
Launches a browser session. Parameters: browser (required string), options (optional object)
navigate
Navigates to a URL. Parameters: url (required string)
find_element
Finds an element on the page. Parameters: by (required string), value (required string), timeout (optional number)
click_element
Clicks an element. Parameters: by (required string), value (required string), timeout (optional number)
send_keys
Sends keys to an element (typing). Parameters: by (required string), value (required string), text (required string), timeout (optional number)
get_element_text
Gets the text() of an element. Parameters: by (required string), value (required string), timeout (optional number)
hover
Moves the mouse to hover over an element. Parameters: by (required string), value (required string), timeout (optional number)
drag_and_drop
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)
double_click
Performs a double click on an element. Parameters: by (required string), value (required string), timeout (optional number)
right_click
Performs a right click (context click) on an element. Parameters: by (required string), value (required string), timeout (optional number)
press_key
Simulates pressing a keyboard key. Parameters: key (required string)
upload_file
Uploads a file using a file input element. Parameters: by (required string), value (required string), filePath (required string), timeout (optional number)
take_screenshot
Captures a screenshot of the current page. Parameters: outputPath (optional string)
close_session
Closes the current browser session and cleans up resources. Parameters: None required
コミュニティレビュー
まだレビューはありません. 最初のレビューを投稿しましょう!
会話に参加するにはサインインしてください