Skip to content

Commit

Permalink
Remove chrome custom profile spec (not compatible with chromedriver 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarib committed Oct 17, 2013
1 parent e32ae30 commit abd17ef
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions rb/spec/integration/selenium/webdriver/chrome/profile_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@ module Chrome
describe Profile do
let(:profile) { Profile.new }

it "launches Chrome with a custom profile" do
profile['autofill.disabled'] = true

begin
driver = WebDriver.for :chrome, :profile => profile
ensure
driver.quit if driver
end
end
# Won't work on ChromeDriver 2.0
#
# it "launches Chrome with a custom profile" do
# profile['autofill.disabled'] = true
#
# begin
# driver = WebDriver.for :chrome, :profile => profile
# ensure
# driver.quit if driver
# end
# end

it "should be serializable to JSON" do
profile['foo.boolean'] = true
Expand Down

0 comments on commit abd17ef

Please sign in to comment.