Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error running Selenium IDE "Error: Permission denied to access property 'nr@context'

Starting this morning (4/3/14), I have been getting errors when my Selenium IDE tests run against my site. These tests were working just fine yesterday. I am running FF 25, Selenium IDE 2.5.0. Whenever it gets to a step where it needs to click or clickandwait, I get this error,

"Error: Permission denied to access property 'nr@context' Filename -> XXXXX, lineNumber -> 5, columnNumber -> 376.

The filename changes depending on what page I happen to be on when running the test. It seems like a javascript error, but I can't see anything in the console. Could there have been a blind update to FF that occurred last night, since all these tests were working flawlessly yesterday afternoon?

Klendathu

like image 661
Klendathu Avatar asked Apr 03 '14 13:04

Klendathu


2 Answers

I have found it!

In my case the problem with nr@context apear on servers where enabled New Relic monitoring and 'new relic script' present on the page (this script contains ...a="nr@context";...)

like image 122
Akvel Avatar answered Nov 10 '22 12:11

Akvel


New Relic Browser agent v378, which contains a fix for this issue, was released this morning. You may need to restart your application server to pickup the new version.

To verify that you're running it, search the HTML source for 378.min.js

like image 30
Max Avatar answered Nov 10 '22 12:11

Max