SeleniumHQ / selenium-google-code-issue-archive

Archive, please see main selenium repo
https://github.com/seleniumhq/selenium
345 stars 195 forks source link

Selenium::WebDriver::Error::UnknownError: Permission denied to access property '_w_' #7481

Open lukeis opened 8 years ago

lukeis commented 8 years ago

Originally reported on Google Code with ID 7481

What steps will reproduce the problem?
1. Just ran my normal tests and it fails on the first click with the following error:

Selenium::WebDriver::Error::UnknownError: Permission denied to access property '_w_'
[remote server] https://assets.insnw.net/instart/js/week-124-0/image_streaming/instart.js:83:in
`e</g.prototype.yi'
[remote server] https://assets.insnw.net/instart/js/week-124-0/image_streaming/instart.js:84:in
`e</g.prototype.Rc'
[remote server] https://assets.insnw.net/instart/js/week-124-0/image_streaming/instart.js:170:in
`a.addEventListener'
[remote server] https://assets.insnw.net/instart/js/week-124-0/image_streaming/instart.js:106:in
`a.X/a<'

Selenium version: 2.41.0
OS: OSX 10.9.3
Browser: FF
Browser version: 28.0

Our automation tests run without any issues in all environments except this new one
that uses instart CDN.

Reported by uscengineer on 2014-06-13 23:24:49

lukeis commented 8 years ago
I tried selenium 2.42.0 and FF v29 and it has the same issue.

Reported by uscengineer on 2014-06-15 22:12:51

lukeis commented 8 years ago
Please provide a complete sample page and a complete executable scenario to reproduce
the issue.

Reported by barancev on 2014-06-17 12:28:08

lukeis commented 8 years ago
Without a reproducible test case we cannot fix this problem.

Reported by andreas.tolf.tolfsen on 2014-06-18 12:55:53

lukeis commented 8 years ago
Here is an example:

require 'watir-webdriver'
b = Watir::Browser.new :firefox
b.goto 'https://www.honest.com'
b.div(:class => 'modal-user-registration-fullscreen-content').button(:data_dismiss
=> 'modal').click

One way around it is to catch the exception and retry the action. This seems to work.
Unfortunately it is too big of an effort to do this type of thing for all of our scripts
since it happens in many locations in too many scripts.

Reported by uscengineer on 2014-06-23 07:59:13

lukeis commented 8 years ago

Reported by barancev on 2014-06-23 10:36:22

lukeis commented 8 years ago

Reported by barancev on 2014-06-23 21:38:22

lukeis commented 8 years ago

Reported by luke.semerau on 2015-09-17 17:47:02