Friday, April 17, 2020

Common Commands in Selenium WebDriver

Commands which are useful to perform the common or we can say frequently use action and operation on web page to complete the test.

Types of common web driver commands: [Click on Each Link to know more]


Quick View of Common Command:


Syntax of Command:




Most Frequently Used Commands in Selenium Script:

1> Direct to web page or Launch Web page on browser

Using GET method





Using Navigate method





Note: Main difference between Get () and Navigate () is, both performing the same task but with the use of Navigate () you can move back () or forward () in your session’s history.

Navigate is faster then Get, because navigate does not wait for the page to load fully.



2> Locating text box and sending user inputs



3> Clearing User Inputs





4> Fetching data over any web element



5> Performing click event



6> Refresh/Reload the web page



7> Switching window




8> Moving between Frames




9> Drag and Drop





😀 TIME TO IMPLEMENT the Same IN YOUR ECLIPSE NOW 😀




No comments:

Post a Comment