Open GoogleCodeExporter opened 9 years ago
Original comment by samu...@chromium.org
on 21 Feb 2015 at 12:18
Thanks for the logging the bug, please find my comments below for all your
issues, and please let us know if those issues are still reproducible:-
I have verified with latest versions:-
Chrome:- 41.0.2272.76
Chrome Driver:- 2.14
Selenium: 2.45
ISSUE 1:- reported issue is not reproducible and able to set chrome
option/preferences, please try the sample ruby code below
require "selenium-webdriver"
prefs = {
:download => {
:prompt_for_download => false,
:default_directory => "/usr/local/google/home/userXX/Downloads/Chrome"
}
}
driver = Selenium::WebDriver.for :chrome, :prefs => prefs
driver.navigate.to "http://google.com"
element = driver.find_element(:name, 'q')
element.send_keys "Hello WebDriver!"
element.submit
puts driver.title
# verify manually default downloads folder is changed.
ISSUE 2: issue:- "You are using an unsupported command-line flag:
--ignore-certificate-errors" this is fixed in Bug 799 and not reproducible in
latest version of chrome
ISSUE 3:- Extension not loading, this issue is not reproducible in latest
versions, please retest.
please try the sample ruby code below
require "selenium-webdriver"
args = []
extension_path = '/usr/local/google/home/agautam/Downloads/AdBlock_v2.21'
args.push '--enable-experimental-extension-apis=true'
args.push
'--load-extension=/usr/local/google/home/agautam/Downloads/AdBlock_v2.21'
args.push '--start-maximized'
driver = Selenium::WebDriver.for :chrome, :switches => args
driver.navigate.to "http://google.com"
element = driver.find_element(:name, 'q')
element.send_keys "Hello WebDriver!"
element.submit
puts driver.title
Original comment by agau...@chromium.org
on 25 Mar 2015 at 1:46
Original comment by nyerrami...@chromium.org
on 26 Mar 2015 at 4:22
Original issue reported on code.google.com by
jam....@gmail.com
on 27 May 2014 at 5:35