Re: Selenium : Permission denied <url> to get property Location.href
Posted by
softwaretestingforum on
URL: http://manual-and-automated-testing.232.s1.nabble.com/Selenium-Permission-denied-url-to-get-property-Location-href-tp4378328p4378603.html
Hi Ganesh,
I have two pointers -
1. After clicking on link - "xpath=(//a[contains(text(),'English (American)')])[2]", you need to bring control on the second window. You can do this by using title of the second window and executing method - selenium.selectWindow("titleOfWindow")
And then you should be able to continue with execution on new window.
2. In general about permission denied error, You may encounter them many a times with Selenium 1. So if you have just begun with Selenium 1 then I would suggest you to safely move to Selenium 2.
~ seleniumtests.com