Selenium Browser commands

1) start ():-- It is to launch the browser.

2) open():- It is to open the URL of the application

3)window the main method():- It is to maximize the window

4) stop():-It will stop the execution of the script and also closes the browser .

Ex:-selenium.stop();

Desired to gain proficiency on Selenium? Explore the blog post on Selenium Training Online 
to become a pro in Selenium.

Selenium Interactive commands;-

  • type() :-It is to enter some value in the text box

            Syntax:- selenium.type(“locater”,”value”);              

                   Ex:-selenium.type(“f-id”,”jaridselenium”);  

  • click:-By using this command we can click on button. I,e radio button, check box,images and links.

           Syntax:-selenium.click(“locator”);//radio button,check box Selenium.click(“link=display num”) //link            

                    Ex:-selenium.click(“css=input-signin”);

Learn more about Selenium Interview Questions in this blog post.

  • select() :- It is to select some values in dropdown or list box or combo box

Syntax:-selenium.select(“locator”,”value”);

For an Indepth knowledge on Selenium, click on below