Config settings for Webdriver 3.0 and code update

Start webdriver hub and webdriver node from command prompt

After that do the below settings in your setup class:


System.setProperty(“”, “C:\\Users\\asharda\\Downloads\\chromedriver\\chromedriver.exe”);
System.setProperty(“”, “C:\\Users\\asharda\\Downloads\\IEDriverServer.exe”);
//DesiredCapabilities capability =;
DesiredCapabilities capability = DesiredCapabilities.internetExplorer();
//driver=new RemoteWebDriver(new URL(“http://localhost:9515”),capability);//Start Chromedriver.exe from command prompt before this
driver=new RemoteWebDriver(new URL(“http://localhost:5555/wd/hub”),capability);//Default port on which IE listens
driver.get(Your url here);
driver.manage().timeouts().implicitlyWait(3000, TimeUnit.SECONDS);


About qainterviews

Software Geek,QA Expert,Blogger
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s