question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Permission denied to access property "invoke" with Firefox

See original GitHub issue

Bug report

  • Node: 7.9.0
  • Protractor: 5.1.1
  • Angular: 2.4.6
  • Firefox: 53
  • Selenium Standalone: 3.4.0
  • GeckoDriver: 0.16.1
  • Operating System: Windows 7 (64 bit)

There appears to be an issue with using the latest Firefox/Protractor/Selenium/GeckoDriver. I am not 100% where the issue is.

If I run my specs with Chrome & IE, they run perfectly and I encounter no issues.

If I run with Firefox, the spec does run to the point of loading the page, but as soon as the spec attempts to interact with the page (click/sendKeys), the following error is given:

 - Failed: Error while running testForAngular: Error: Permission denied to access property "invoke"
        Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
        System info: host: 'COMPUTERNAME', ip: '128.87.191.165', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_121'
        Driver info: org.openqa.selenium.firefox.FirefoxDriver
        Capabilities [{moz:profile=C:\Users\073349\AppData\Local\Temp\rust_mozprofile.g9ctTA7ltsPD, rotatable=false, timeouts={implicit=0.0, pageLoad=300000.0, script=30000.0}, pageLoadStrategy=normal, platform=ANY, specificationLevel=0.0, moz:accessibilityChecks=false, acceptInsecureCerts=false, browserVersion=53.0, platformVersion=6.1, moz:processID=11912.0, browserName=firefox, javascriptEnabled=true, platformName=windows_nt}]
        Session ID: 3e61ca40-44d8-4444-9723-c38d29d24eef

If I run with directConnect, I get another issue but this seems to be logged in #4253.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Tom-Hudsoncommented, May 8, 2017

@wswebcreation my problem was related to the Zone.js bug. I was on v7.7. Updating to v8.6 has resolved the issue.

However, I am now having an issue with client-side navigation error but this is not related to the original problem so I am closing the issue!

0reactions
user2301commented, Jun 12, 2017

@hudson-t Yeah…I updated to Zone v8.6, but I still get the same error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Permission denied to access property "x" - JavaScript
The JavaScript exception "Permission denied to access property" occurs when there was an attempt to access an object for which you have no ......
Read more >
Firefox: Permission denied to access property "invoke"
Firefox , I get an error Permission denied to access property "invoke" . I am using Selenium 3.4.1, Firefox 53.0.2 (32-bit), ...
Read more >
Permission denied to access property "apply" #469 - GitHub
You'd get this error if something in your codebase, or some third party script, is assigning a function from another domain or from...
Read more >
permission denied to access property document on cross ...
However, you can temporarily disable this security feature as follows: Enter the address 'about:config' in your Firefox. Search for 'strict_'. Double click on ......
Read more >
Solved: Exception: Error: Permission denied to access prop...
Solved: I'm trying to run Jira on my personal server using the ... Exception: Error: Permission denied to access property "apply" on Docker ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found