Create your own awesome maps

Even on the go

with our free apps for iPhone, iPad and Android

Get Started

Already have an account?
Log In

Selenium 2 WebDriver Commands by Mind Map: Selenium 2
WebDriver
Commands
5.0 stars - 6 reviews range from 0 to 5

Selenium 2 WebDriver Commands

Navigation

<WebDriver>

.get

.navigate, .to, .back, .forward, .refresh

Interrogation

or

Inspection

<WebDriver>

.getTitle

.getCurrentUrl

.getPageSource

<WebElement>

.getText

.getAttribute

.getTagName

.isDisplayed

.isEnabled

.isSelected

.getSize

.getLocation

.getCssValue

support, Select, .isMultiple, .getOptions, etc.

location <WebDriver> <WebElement>

.findElement

.findElements, catches not found exceptions

By, .id, .xpath, .cssSelector, .className, .linkText, .name, .tagName, .partialLinkText

support, ByChained, ByIdOrName

Manipulation

or

Interaction

<WebElement>

.click

.clear

.sendKeys, multiple arguments, special Keys., RETURN, SHIFT, etc., Keys.chord, modifiers, shift, ctrl, etc., end with Keys.NULL

.submit

support, Select, selectByVisibleText, etc.

<Actions>

.keyDown

.keyUp

.sendKeys

.clickAndHold

.release

.click

.doubleClick

.moveToElement

.moveByOffset

.contextClick

.dragAndDrop

.dragAndDropBy

.build, to create a sequence to perform later

.perform, build and perform now

Domain

Cookies

Interrogation, <WebDriver>.manage(), .getCookies, .getCookieNamed

Manipulation, <WebDriver>.manage(), addCookie, deleteAllCookies, deleteCookie, deleteCookieNamed, Cookie, Cookie.Builder

Windows

Interrogation, <WebDriver>, .getWindowHandle, .getWindowHandles, .manage().window(), .getSize, .getPosition

Navigation, <WebDriver>, .switchTo().window

Manipulation, <WebDriver>, .manage().window(), .maximize, .setSize, .setPosition

Frames

Navigation, .switchTo, .frame, .defaultContent

html5

logging

(JavascriptExecutor)

executeScript

executeAsyncScript

N,I,M,S

Drivers

remote

chrome

firefox

opera

IE

Alerts

Navigation, <WebDriver>, .switchTo().alert()

Interrogation, .getText

Manipulation, .dismiss, .accept, .sendKeys

Synchronisation

support

ExpectedConditions

WebDriverWait

ExpectedCondition

FluentWebDriverWait

<WebDriver>.manage().timeouts().

implicitlyWait

pageLoadTimeout

setScriptTimeout