Can someone explain the meaning of WebDriver wd = new ChromeDriver();?

+1 vote
Can someone explain the meaning of WebDriver wd = new ChromeDriver();?
Dec 14, 2018 in Selenium by Nitesh
• 2,920 points
75 views

1 answer to this question.

0 votes
WebDriver webdriver = new ChromeDriver();

The following simply means that you are creating an instance of WebDriver named webdriver to access Chrome Driver.

answered Dec 14, 2018 by Aniket

Related Questions In Selenium

0 votes
1 answer
0 votes
1 answer

How can I download the *.jar file from http:// seleniumhq.org using selenium WebDriver?

For Selenium Standalone Server use this: profile.setPreference("browser.helperApps.neverAsk.saveToDisk", "application/java-archive"); and ...READ MORE

answered Apr 9, 2018 in Selenium by Martin
• 4,220 points
481 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
592 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
901 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
578 views
0 votes
1 answer

Can someone please explain the Selenium Webdriver Architecture ?

Hey Keshav, there are four basic components ...READ MORE

answered May 13 in Selenium by Pratibha
• 2,780 points
66 views
0 votes
5 answers