Selenium Cheat Sheet
Selenium Cheat Sheet
Selenium Cheat Sheet
Selenium Locators
Selenium Navigators
01
Windows
When web applications have multiple frames or windows, Selemium assigns each window
a unique ID which is called window handle. This ID is used to switch control among
windows.
String handle=driver.getWindowHandle();
Set<String> handles = getWindowHandles();
driver.switchTo().window(handle);
String curWindow=driver.getWindowHandle();
Frames
Alerts
02
Operations
Selenium Grid
Server - http://localhost:4444/grid/console
03