Source code to find element in Selenium-java

0 votes
What is the source code of the find elements function in selenium-java?

When I looked at the source code, I could found the webdriver interface that has unimplemented function? If it is an interface it should be implemented by some class, isn’t it? but I could not find any class that implements webdriver interface.

What am I missing here?
Apr 24, 2018 in Selenium by Martin
• 4,330 points
876 views

1 answer to this question.

0 votes

You are probably looking at the WebDriver interface alone. But, the main point of interest should be the RemoteWebDriver class which implements WebDriver.Note that browser-specific WebDriver implementations are then based on the RemoteWebDriver. For instance, see the ChromeDriver.

answered Apr 24, 2018 by king_kenny
• 3,710 points

Related Questions In Selenium

0 votes
2 answers

How to use link as a locator to find element in selenium?

driver.findElement(By.linkText("link")).click(); READ MORE

answered Sep 3 in Selenium by Sri
• 2,970 points
281 views
0 votes
1 answer

How to get the HTML source of a webpage using Selenium in Java?

There is a method called getPageSource() in ...READ MORE

answered Jan 10, 2019 in Selenium by Sneha
11,663 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,510 points
3,535 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

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

answered Aug 31 in Selenium by Sri
• 2,970 points
4,539 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
2,596 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 in Selenium by Sri
• 2,970 points
2,865 views
0 votes
1 answer
+4 votes
2 answers

Can we get the HTTP Response Code in Selenium with Java?

It is indeed possible to get http ...READ MORE

answered Apr 20, 2018 in Selenium by king_kenny
• 3,710 points
27,377 views