driver.
close()
[Link]()
[Link]()
[Link]()
--------------------------------------------------------------------------------
SELENIUM
LOCATORS---------------------------------------------------------------------------
---
Selenium Locators: Refer [Link]
Common Usage: When there is only tagname to identify an element.
--While using Relative Locators Import related Package manually.
--4 Locators:
above()
below()
toLeftof()
toRightof()
--Relative Locators can be only used with tagnames as of now.
Eg Syntax : WebElement dob =
[Link]([Link]("[for='dateofBirth']"));
[Link](with([Link]("input")).below(dob)).click();
To invoke a new window -[Link]().newWindow([Link]);
Set<String> handles=[Link]();
Iterator<String> it=[Link]();
String parentWindowId = [Link]();
String childWindow =[Link]();
Use iterator and its properties to handle the windows
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
------------
Learnings Required:
Quickly go through Finding Elements and XPATH and CSS Locators
Understand Waits in SELENIUM
Actions in Selenium