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,950 points
93 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, 2019 by ritwik

Related Questions In Selenium

0 votes
6 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
51,622 views
+1 vote
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,520 points
4,866 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, 2019 in Selenium by Abha
• 28,000 points
853 views
+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,520 points

edited Apr 4, 2018 by nsv999 7,391 views
0 votes
2 answers

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,520 points
4,356 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,010 points
5,273 views
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
3,155 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 2, 2020 in Selenium by Sri
• 3,010 points
3,676 views
+11 votes
16 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
129,791 views
0 votes
8 answers

How to open a link in new tab of chrome browser using Selenium WebDriver?

This below code works for me in ...READ MORE

answered Dec 13, 2020 in Selenium by Gitika
• 65,850 points
56,729 views