Thursday 19 March 2015

How to invoke Chrome driver using with chrome driver

How to invoke Chrome driver using with chrome driver

Step 1- Please go the http://docs.seleniumhq.org/download/ section and download the
latest chrome driver from Third party browser, direct link is http://chromedriver.storage.googleapis.com/index.html?path=2.14/

Step 2 : Put the driver exe in your project folder

Step 3: Give the exe path to below function

System.setProperty("webdriver.chrome.driver", "D:\\AutomationPHP\\chromedriver_win32\\chromedriver.exe");
driver = new ChromeDriver();

Step 4:- Now you can use chrome browser with your script, Please download correct driver for particular platform or 32 bit or 64 bit



Donate:

Please Donate the some money (anything do you want) for my
blog if you beneficial for this, I will provide more real example for the
latest technique for whom who wants to make a carrier in IT field or solved
some problem, My Name is – RITESH KUMAR SINGH A/C number- 913010044116345 AXIS
Bank LTD :- Vaishali NCR, India-001
 

No comments:

Post a Comment