HTTP Method Path Summary Java Equivalent
POST /session Create a new session. N/A
GET /session/:sessionId Retrieve the capabilities of the specified session. N/A
DELETE /session/:sessionId Delete the session. WebDriver#quit()
POST /session/:sessionId/timeouts/async_script Set the amount of time, in milliseconds, that asynchronous scripts executed by /session/:sessionId/execute_async are permitted to run before they are aborted and a |Timeout| error is returned to the client. N/A
POST /session/:sessionId/timeouts/implicit_wait Set the amount of time the driver should wait when searching for elements. WebDriver.Timeouts#implicitlyWait(long, TimeUnit)
GET /session/:sessionId/window_handle Retrieve the current window handle. WebDriver#getWindowHandle()
GET /session/:sessionId/window_handles Retrieve the list of all window handles available to the session. WebDriver#getWindowHandles()
GET /session/:sessionId/url Retrieve the URL of the current page. WebDriver#getCurrentUrl()
POST /session/:sessionId/url Navigate to a new URL. WebDriver#get(String)
POST /session/:sessionId/forward Navigate forwards in the browser history, if possible. WebDriver.Navigation#forward()
POST /session/:sessionId/back Navigate backwards in the browser history, if possible. WebDriver.Navigation#back()
POST /session/:sessionId/refresh Refresh the current page. WebDriver.Navigation#refresh()
POST /session/:sessionId/execute Inject a snippet of JavaScript into the page for execution in the context of the currently selected frame. JavascriptExecutor#executeScript(String, Object...)
POST /session/:sessionId/execute_async Inject a snippet of JavaScript into the page for execution in the context of the currently selected frame. N/A
GET /session/:sessionId/screenshot Take a screenshot of the current page. TakesScreenshot#getScreenshotAs(OutputType)
GET /session/:sessionId/ime/available_engines List all available engines on the machine. WebDriver.ImeHandler#getAvailableEngines()
GET /session/:sessionId/ime/active_engine Get the name of the active IME engine. WebDriver.ImeHandler#getActiveEngine()
GET /session/:sessionId/ime/activated Indicates whether IME input is active at the moment (not if it's available. WebDriver.ImeHandler#isActivated()
POST /session/:sessionId/ime/deactivate De-activates the currently-active IME engine. WebDriver.ImeHandler#deactivate()
POST /session/:sessionId/ime/activate Make an engines that is available (appears on the listreturned by getAvailableEngines) active. WebDriver.ImeHandler#activateEngine(java.lang.String)
POST /session/:sessionId/frame Change focus to another frame on the page. WebDriver.TargetLocator#frame(String)
POST /session/:sessionId/window Change focus to another window. WebDriver.TargetLocator#window(String)
DELETE /session/:sessionId/window Close the current window. WebDriver#close()
GET /session/:sessionId/speed Get the current user input speed. WebDriver.Options#getSpeed()
POST /session/:sessionId/speed Set the user input speed. WebDriver.Options#setSpeed(Speed)
GET /session/:sessionId/cookie Retrieve all cookies visible to the current page. WebDriver.Options#getCookies()
POST /session/:sessionId/cookie Set a cookie. WebDriver.Options#addCookie(Cookie)
DELETE /session/:sessionId/cookie Delete all cookies visible to the current page. WebDriver.Options#deleteAllCookies()
DELETE /session/:sessionId/cookie/:name Delete the cookie with the given name. WebDriver.Options#deleteCookieNamed(String)
GET /session/:sessionId/source Get the current page source. WebDriver#getPageSource()
GET /session/:sessionId/title Get the current page title. WebDriver#getTitle()
POST /session/:sessionId/element Search for an element on the page, starting from the document root. WebDriver.#findElement(By)
POST /session/:sessionId/elements Search for multiple elements on the page, starting from the document root. WebDriver.#findElements(By)
POST /session/:sessionId/element/active Get the element on the page that currently has focus. WebDriver.TargetLocator#activeElement()
GET /session/:sessionId/element/:id Describe the identified element. N/A
POST /session/:sessionId/element/:id/element Search for an element on the page, starting from the identified element. WebElement#findElement(By)
POST /session/:sessionId/element/:id/elements Search for multiple elements on the page, starting from the identified element. WebElement#findElements(By)
POST /session/:sessionId/element/:id/click Click on an element. WebElement#click()
POST /session/:sessionId/element/:id/submit Submit a FORM element. WebElement#submit()
GET /session/:sessionId/element/:id/text Returns the visible text for the element. WebElement#getText()
GET /session/:sessionId/element/:id/value Query for the value of an element, as determined by its value attribute. WebElement#getValue()
POST /session/:sessionId/element/:id/value Send a sequence of key strokes to an element. WebElement#sendKeys(CharSequence...)
POST /session/:sessionId/modifier Send an event to the active element to depress or release a modifier key. pressKey(org.openqa.selenium.Keys)
GET /session/:sessionId/element/:id/name Query for an element's tag name. WebElement#getTagName()
POST /session/:sessionId/element/:id/clear Clear a TEXTAREA or text INPUT element's value. WebElement#clear()
GET /session/:sessionId/element/:id/selected Determine if an OPTION element, or an INPUT element of type checkbox or radiobutton is currently selected. WebElement#isSelected()
POST /session/:sessionId/element/:id/selected Select an OPTION element, or an INPUT element of type checkbox or radiobutton. WebElement#setSelected()
POST /session/:sessionId/element/:id/toggle Toggle whether an OPTION element, or an INPUT element of type checkbox or radiobutton is currently selected. WebElement#toggle()
GET /session/:sessionId/element/:id/enabled Determine if an element is currently enabled. WebElement#isEnabled()
GET /session/:sessionId/element/:id/attribute/:name Get the value of an element's attribute. WebElement#getAttribute(String)
GET /session/:sessionId/element/:id/equals/:other Test if two element IDs refer to the same DOM element. N/A
GET /session/:sessionId/element/:id/displayed Determine if an element is currently displayed. RenderedWebElement#isDisplayed()
GET /session/:sessionId/element/:id/location Determine an element's location on the page. RenderedWebElement#getLocation()
GET /session/:sessionId/element/:id/location_in_view Determine an element's location on the screen once it has been scrolled into view. N/A
GET /session/:sessionId/element/:id/size Determine an element's size in pixels. RenderedWebElement#getSize()
GET /session/:sessionId/element/:id/css/:propertyName Query the value of an element's computed CSS property. RenderedWebElement#getValueOfCssProperty(String)
POST /session/:sessionId/element/:id/hover Move the mouse over an element. RenderedWebElement#hover()
POST /session/:sessionId/element/:id/drag Drag and drop an element. RenderedWebElement#dragAndDropBy(int, int)
GET /session/:sessionId/orientation Get the current browser orientation. Rotatable#getOrientation()
POST /session/:sessionId/orientation Set the browser orientation. Rotatable#rotate(ScreenOrientation)
GET /session/:sessionId/alert_text Gets the text of the currently displayed JavaScript alert(), confirm(), or prompt() dialog. Alert#getText()
POST /session/:sessionId/alert_text Sends keystrokes to a JavaScript prompt() dialog. Alert#sendKeys(String)
POST /session/:sessionId/accept_alert Accepts the currently displayed alert dialog. Alert#accept()
POST /session/:sessionId/dismiss_alert Dismisses the currently displayed alert dialog. Alert#dismiss()
POST /session/:sessionId/moveto Move the mouse by an offset of the specificed element. MoveMouseAction#perform()
POST /session/:sessionId/click Click any mouse button (at the coordinates set by the last moveto command). ClickAction#perform()
POST /session/:sessionId/buttondown Click and hold the left mouse button (at the coordinates set by the last moveto command). ClickAndHoldAction#perform()
POST /session/:sessionId/buttonup Releases the mouse button previously held (where the mouse is currently at). ButtonReleaseAction#perform()
POST /session/:sessionId/doubleclick Double-clicks at the current mouse coordinates (set by moveto). DoubleClickAction#perform()