Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 99018

Error: Permission denied to access property "x" due to same/cross origin policy using Selenium?

$
0
0

I want to access to the content of a script which is inside another HTML element which I can Identify easily. I've tried to find the element by getting the parent and then looking for a child but I've not been able to do it.

So I tried to get it just using the console in firefox and use that element to read the content and I'm not able to do it. It looks like this: example

When I tried to do anything with that element I get a link to the following page and error:

Permission denied to access property. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Property_access_denied?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default

Is not possible to access to that object for automatic testing with selenium?


Viewing all articles
Browse latest Browse all 99018

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>