Skip to content

Raven error in Selenium IDE log #539

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

Closed
leordex opened this issue Mar 23, 2016 · 6 comments
Closed

Raven error in Selenium IDE log #539

leordex opened this issue Mar 23, 2016 · 6 comments

Comments

@leordex
Copy link

leordex commented Mar 23, 2016

I have found the issue #495, it looks like mine, but error is different.
I am using the latest version of Firefox and Selenium IDE. The error occurs in the middle of one of the tests. When it clicks on the button, I see in log [error] Unexpected Exception: Error: Permission denied to access property "__raven_wrapper__".
Looks like problem is caused by line 660 in raven.js:
fn = fn && (fn.__raven_wrapper__ ? fn.__raven_wrapper__ : fn);
When I wrapped this line in try...catch block, test has passed.

@leordex leordex changed the title Error in Selenium IDE log when Raven is initialized Raven error in Selenium IDE log Mar 23, 2016
@Sija
Copy link
Contributor

Sija commented Mar 23, 2016

Maybe fn = fn && (('__raven_wrapper__' in fn) ? fn.__raven_wrapper__ : fn); would work better?

@leordex
Copy link
Author

leordex commented Mar 24, 2016

No, it doesn't work like that too. fn contains an empty function.

@leordex
Copy link
Author

leordex commented Mar 25, 2016

This error occurs when Selenium clicks on the link looks like <a href="javascript:" onClick={js function}>text</a>. I removed element a and insert button in his place and error disappeared.

@vladikoff
Copy link

@leordex have you found a fix for this?

@benvinegar
Copy link
Contributor

Anyone know if this is still an open issue?

@vladikoff
Copy link

I think this was fixed! :)

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

5 participants