What is the difference between WebDriver and RemoteWebdriver in Selenium

0 votes
What is the difference between WebDriver and RemoteWebdriver in Selenium?
May 10, 2019 in Selenium by Ishan
10,611 views

1 answer to this question.

0 votes

Hey Ishan, the difference between Webdriver and Remote Webdriver is as follows:

WebDriver:

  • WebDriver object represents the browser in Selenium. Using this object you can control the Web browser.
  • It is an interface of the org.openqa.selenium.* package. Upon instantiating the implementations of this class the browser will be launched.
  • FirefoxDrive, ChromeDriver, InternetExplorerDriver, SafariDriver, OperaDriver, HtmlUnitDriver, RemoteWebDriver are few implementations of the WebDriver Interface.

RemoteWebDriver:

  • This is the WebDriver object to control the desired browser in the node PC over the Grid using the Capability(settings) and Hostname or IP of the Selenium HUB running.
  • Using the RemoteWebDriver object instantiation, you can control any browser in the node PC which is on Windows, Mac, Linux etc.. platforms. For eg: 
//Capability(settings) to execute the Node with window 8 and firefox ver32

DesiredCapabilities capability = new DesiredCapabilities.firefox();

capability.setVersion(“32.0”);

capability.setPlatform(Platform.WIN8);

URL RegisteredUrl = new URL(“http://10.10.10.10:4444/wd/hub”);

WebDriver driver = new WebDriver(RegisteredUrl, capability);

driver.get(“https://www.edureka.co”);
answered May 10, 2019 by Pratibha
• 3,690 points

Related Questions In Selenium

0 votes
2 answers
+1 vote
2 answers

What is the difference between findElement and findElements in Selenium Webdriver?

FindElement Command -This method locates for the ...READ MORE

answered Feb 11, 2020 in Selenium by anonymous
8,411 views
0 votes
1 answer

What is the difference between getWindowHandle() and getWindowHandles() methods in Selenium WebDriver?

Hey Jennifer, difference between getWindowHandle() and getWindowHandles() ...READ MORE

answered Jun 4, 2019 in Selenium by Anvi
• 14,150 points
14,413 views
0 votes
1 answer
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,500 points
13,764 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,190 points
9,184 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,910 points
7,258 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 3, 2020 in Selenium by Sri
• 3,190 points
7,896 views
0 votes
1 answer

What is Xpath and what are the types of it in Selenium Webdriver?

Hi Piyush, XPath is defined as XML path. It is ...READ MORE

answered May 9, 2019 in Selenium by Pratibha
• 3,690 points
5,385 views
0 votes
1 answer

What is Robot Class in selenium webdriver and why it is used?

Hello Akanksha, Robot Class is used for those ...READ MORE

answered May 9, 2019 in Selenium by Pratibha
• 3,690 points
2,043 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP