How to use chromedriver.exe as maven dependency in project

9,227 views
Skip to first unread message

sunny sachdeva

unread,
Jan 6, 2016, 12:15:31 AM1/6/16
to webdriver
Earlier we used to download chromedriver.exe manually and keep it under src/test/resources.Realized it was not effecient. Now we are using below dependency to use chrome driver

<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-chrome-driver</artifactId>
<version>2.48.2</version>
</dependency>

Say If I am on windows, then what path I should give in below command to refer chromedriver
System.setProperty("webdriver.chrome.driver", "???");

Thanks
Sunny

Krishnan Mahadevan

unread,
Jan 6, 2016, 12:33:36 AM1/6/16
to webdriver
Have you looked at what Mark Collins built for this ? https://github.com/Ardesco/selenium-standalone-server-plugin

Maybe that would help.

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webdriver+...@googlegroups.com.
To post to this group, send email to webd...@googlegroups.com.
Visit this group at https://groups.google.com/group/webdriver.
For more options, visit https://groups.google.com/d/optout.

sunny sachdeva

unread,
Jan 6, 2016, 4:13:21 AM1/6/16
to webdriver
Thanks Krishnan . This link served my purpose
Reply all
Reply to author
Forward
0 new messages