4

I am not able to find all the commands for WebDriver / Selenium 2. Where can I get them?

5

Java

Ruby

Python

.Net

JavaScript

Majority of the remote commands can be found here. Ex. http://localhost:4444/wd/hub/session for session

This will contain all of the functions that Selenium uses.

| improve this answer | |
0

Scroll down to: "Selenium-WebDriver API Commands and Operations"

http://docs.seleniumhq.org/docs/03_webdriver.jsp

| improve this answer | |
0

Per https://seleniumeasy.com/selenium-tutorials/webdriver-methods

get()              # The most common, get request to load the page
getCurrentUrl();   # The URL
getTitle()         # Page title
findElements()     # HTML elements on the page
findElement()      # HTML element on the page
getPageSource()    # HTML DOM code
close()            # Close window
quit()             # Close browser

getWindowHandle()  # Used in switching window
getWindowHandles() # Used in switching windows
navigate()         # browser history
manage()           # options
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.