Method name Descreption Syntex Return type
[Link](“”); Specifica word contain or [Link](“ “); String
not
[Link](“url”); Get home page of [Link] (“url of application”); Void
perticuler application.
[Link](); Get URL of application [Link](); String
[Link](); Get title of application [Link](); String
[Link](); Get the length of String [Link](); String
[Link](b); Compares two string [Link](b); +/-/0_Intege
r
[Link](b); Compare two variables [Link](b); Boolean
[Link](b); Compare two variables by [Link](b); +/-/0_intege
ignoring case r
[Link](b); Addition of two variables [Link](b); String
[Link](); Return the character on [Link](); Char
index value
[Link](); Gives upper case of “a” [Link](); String
value
[Link](); Gives lower case value of [Link](); String
“a” variable
[Link](); Trims value of “a”. remove Syso([Link]()); String
the spaces before and after
the string value.
[Link](1,9) Provides the letter from String a= “selenium testing” String
index 1 to 9 excluinding of syso([Link](1,7); starts from 1 to
9 value. 6.
Endwith(); Shows perticuler string String a= “selenium testing”; String
contains that value or not syso( [Link](“testing))
[Link]() Gives page source String c= [Link](); String
isDisplayed(); Object is displayed or not By using find element Boolean
isEnabled(); Object is enabled or not By using find element Boolean
isSelected Objected is selected or not By using find element Boolean
Clear(); Clear the object [Link](); Void
Click(); Click on object By using find element Void
[Link]().to() Navigate from one url to [Link]().to() Void
another
[Link]().back() Navigate back from current [Link]().back() Void
url
[Link]().forward() Navigate forward from the [Link]().forward() Void
current url
Maximize Used to maximize browser [Link]().window().maximize(); Void
Dimension Used to minimize the Void
browser
Minimize Used to minimize the [Link]().window().minimize(); Void
browser in selenium 4
Close(); Close the browser Close(); Void
Quit(); Quit the browser Quit(); Void
[Link](5000); Wait for five second Void
Find element [Link]([Link](“value of webelement
locator”);
Sendkeys(); Find element [Link]([Link](“value of Void
locator”).Sendkeys(“ “);
A and b are two different varible like
String a=”Selenium”
String b=”Testing”