| || |
\"permission denied to get property location.href\"
I have downloaded selenium core directly in a Firefox,
run selenium core
Now, here is what I have tried to do:
-save one test as 'mytest.html'.
-save 'mytest.html' under '<my-downloaded-selenium-dir>/tests/mytest.html'
-added 'mytest.html' in the existing selenium TestSuite.html
in the '<my-downloaded-selenium-dir>/tests/TestSuite.html'
-run '<my-downloaded-selenium-dir>/core/TestRunner.html in browser
-click on 'mytest' in the list of tests
-'Run the selected Test' by using Selenium Test Runner
When running the 'open' command I can see my page appearing,
but with the next command (which is btw, Login page)
the following errors appear:
"Permission denied to get property Location.href"
"Selenium failure. Please report to selenium-dev at openqa dot org,
with error details from the log window."
I noticed from forums:
1) could be problem if machines are not in the same domain
My machine and machine with 'open' URL, are in the same domain.
Any comments/hints would be much appreciated!
Re: \"permission denied to get property location.href\"
Try to use the browser as *chrome instead of *firefox or *iehta instead of *iexplore. This you will probably need to do programatically using the full command "getnewsession" and specifying the browser and starting/base URL. Please refer to the documentationavailable on openqa.org for Selenium for this.