Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
jegan
jegan
Posts : 2
Join date : 2011-09-12
Age : 35
Location : Chennai

How to find the chromedriver executable in ruby language Empty How to find the chromedriver executable in ruby language

Thu Jan 03, 2013 8:21 pm
Hi Guys,
I am novoice tester using selenium webdriver. Currently I struck with small concern. Help me on this.

While executing my webdriver script I am getting the below error.

`executable_path': Unable to find the chromedriver executable. Please download the server from http://code.google.com/p/chromedriver/downloads/list and place it somewhere on your PATH. More info at http://code.google.com/p/selenium/wiki/ChromeDriver. (Selenium::WebDriver::Error::WebDriverError)


I am using Webdriver in ruby language.

Reason:
Issue occurs because of Chromedriver.
What I did:
Downloaded the chromedriver for Windows.
executed the 'chromewebdriver.exe' file and executed the below script.

require 'rubygems'
require 'selenium-webdriver'
driver = Selenium::WebDriver.for :chrome
driver.get "http://google.com"
element = driver.find_element :name => "q"
element.send_keys "Cheese!"
element.submit
puts "Page title is #{driver.title}"
wait = Selenium::WebDriver::Wait.new(:timeout => 10)
wait.until { driver.title.downcase.start_with? "cheese!" }
puts "Page title is #{driver.title}"
driver.quit



Windows + Ruby+ chromedriver.

can anyone provide me steps to resolve the issue
Back to top
Permissions in this forum:
You cannot reply to topics in this forum