Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SecurityError: DOM Exception 18 - Safari 7.1 #28

Closed
peterhough opened this issue Oct 3, 2014 · 2 comments
Closed

SecurityError: DOM Exception 18 - Safari 7.1 #28

peterhough opened this issue Oct 3, 2014 · 2 comments

Comments

@peterhough
Copy link

When using Safari 7.1 I get the error SecurityError: DOM Exception 18 (Selenium::WebDriver::Error::NoScriptResultError)

SecurityError: DOM Exception 18 (Selenium::WebDriver::Error::NoScriptResultError)
 /Users/peterhough/.rvm/gems/ruby-2.1.3/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/safari/bridge.rb:73:in `raw_execute'
 /Users/peterhough/.rvm/gems/ruby-2.1.3/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/remote/bridge.rb:616:in `execute'
 /Users/peterhough/.rvm/gems/ruby-2.1.3/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/remote/bridge.rb:361:in `getAllCookies'
 /Users/peterhough/.rvm/gems/ruby-2.1.3/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/common/options.rb:77:in `all_cookies'
 /Users/peterhough/.rvm/gems/ruby-2.1.3/gems/show_me_the_cookies-2.5.0/lib/show_me_the_cookies/adapters/selenium.rb:11:in `get_me_the_cookies'
 /Users/peterhough/.rvm/gems/ruby-2.1.3/gems/show_me_the_cookies-2.5.0/lib/show_me_the_cookies.rb:44:in `get_me_the_cookies'
 /Users/peterhough/workspace/mywebsite/cucumber/features/support/step_helpers.rb:531:in `get_cookies'
 /Users/peterhough/workspace/mywebsite/cucumber/features/support/step_helpers.rb:521:in `set_cookie_policy'
 /Users/peterhough/workspace/mywebsite/cucumber/features/support/config.rb:322:in `Before'

The same code works fine in Chrome & Firefox.

Thanks in advance for any help.

@nruth
Copy link
Owner

nruth commented Oct 11, 2014

I won't be able to look at this as I'm not testing with safari, but if you find a fix or work-around I'd be interested.

@nruth
Copy link
Owner

nruth commented Apr 10, 2018

Closing as stale. I've started a branch that tests how the new Apple safari / webkit webdriver works but it looks like there are still some similar issues with setting cookies. May end up requiring optional write cookies api #35.

@nruth nruth closed this as completed Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants