Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
162 views
by Contributing Tester (49 points)
I am learning Selenium Webdriver. Can someone please explain its commands?

2 Answers

0 like 0 dislike
by Contributing Tester (95 points)

Selenium Webdriver commands are the methods used to run your Selenium test automation scripts. You can use these browser commands to automate different browser actions to perform testing.

Selenium WebDriver commands in NUnit are divided into three different categories on the basis of different kinds of browser interactions. The commands are categorized based on the type of interaction and the element/application on which action is being performed. Automated browser testing involves the following Selenium commands:

  1. Web Browser Commands – Performs actions on the web browser (e.g. open, close, maximize, etc.)
  2. Web Element Commands – Performs actions on the web elements in the current window (e.g. checking a button, entering text in a textbox, clicking a button, etc.)
  3. Drop Down Commands – Performs actions on the drop-down elements in the current window (e.g. selecting or deselecting a value from the drop-down window).
0 like 0 dislike
by Contributing Tester (79 points)

Given below are some of the most commonly used Selenium commands in WebDriver:

1. Fetching a web page

2. Locating forms and sending user inputs

3. Clearing User inputs

4. Fetching data over any web element

5. Performing Click event

6. Navigating backward in browser history

7. Navigating forward in browser history

8. Refresh/ Reload a web page

9. Closing Browser

10. Closing Browser and other all other windows associated with the driver

11. Moving between Windows

12. Moving between Frames

13. Drag and Drop

You can use a platform like QAppAssure which allows you to test on-cloud and on-field devices, across 100+ device, make and models, Integrate with Jira, CI/CD tools, and also use Appium, Calabash, Espresso, UIAutomator, XCUITest. You can run unlimited parallel tests with the free trial pack. 


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...