• USA : +1 973 910 5725
  • INDIA: +91 905 291 3388
  • info@tekslate.com
  • Login

Selenium Browser commands & Interactive commands

Selenium Browser commands

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

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

3)window 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

Summary
Review Date
Reviewed Item
Selenium Browser commands & Interactive commands
Author Rating
4

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on Selenium Browser commands & Interactive commands"

    Leave a Message

    Your email address will not be published. Required fields are marked *

    Site Disclaimer, Copyright © 2016 - All Rights Reserved.

    Support


    Please leave a message and we'll get back to you soon.

    I agree to be contacted via e-mail.