How does selenium webdriver works?

0 votes
What is the working of selenium webdriver? What happens at the backend when we use selenium commands?
Jan 7, 2019 in Selenium by Anjali
• 2,940 points

1 answer to this question.

0 votes

When the automation script is implemented, the subsequent steps happen:

  • for every Selenium action or command, an HTTP request is formed and sent to the browser driver
  • the HTTP request is sent to the browser driver
  • the HTTP server determine the steps required to implement the Selenium action that corresponds to the request
  • the HTTP server executes such prior steps on the browser
  • the HTTP server sends back the status to the automation script

The browser driver executed Selenium commands that follow all types of actions that users execute usually on web pages, few examples of using webpage can be as follows:-

  • open a web page
  • click buttons and links
  • navigate through the browser history
  • maximize the browser
  • type text in textboxes
  • get status of web elements
  • get information of web elements (attributes, value, position)
  • select values in lists and dropdown lists
answered Jan 7, 2019 by ritwik

Related Questions In Selenium

0 votes
3 answers

How to specify "ENTER" button functionality in Selenium WebDriver code?

using OpenQA.Selenium.Interactions; Actions builder = new Actions(driver); ...READ MORE

answered Feb 12, 2019 in Selenium by anonymous
0 votes
1 answer

How to handle drop downs using Selenium WebDriver in Java

First, find an XPath which will return ...READ MORE

answered Mar 27, 2018 in Selenium by nsv999
• 5,510 points
0 votes
2 answers

Can anyone help me that how to run Selenium WebDriver test cases in Chrome?

You first need to download chrome driver ...READ MORE

answered Aug 26, 2019 in Selenium by Abha
• 27,930 points
+1 vote
1 answer

How to perform mouse hovering in Selenium WebDriver (Java)?

You many not actually be able to ...READ MORE

answered Apr 3, 2018 in Selenium by nsv999
• 5,510 points

edited Apr 4, 2018 by nsv999 6,065 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,510 points
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,890 points
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,890 points
+9 votes
15 answers

How to automate gmail login process using selenium webdriver in java?

Check the below code: Here is the working ...READ MORE

answered Apr 24, 2018 in Selenium by Vardy
• 2,360 points
0 votes
5 answers