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 in Selenium by Anjali
• 2,930 points
25 views

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 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 in Selenium by anonymous
8,791 views
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,090 points
1,965 views
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 in Selenium by Abha
• 22,870 points
243 views
0 votes
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,090 points

edited Apr 4, 2018 by nsv999 2,869 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,090 points
555 views
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,130 points
890 views
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,130 points
553 views
+9 votes
14 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,250 points
58,910 views
0 votes
5 answers