Hi
while creating browser object generally we use the statement as bellow...
browser = new DefaultSelenium("localhost",
4444, "*firefox", http://www.google.com/); ------1
and while opening the google website we use the statement as bellow
browser.open("http://www.google.com/webhp?hl=en");---------------------2
why not we use the same url in both statement like this http://www.google.com/
If we use the above url in both statement we will get error like this " permission denied" why this is so
We should indeed use same url in both the places, if you don't use same url then you will encounter permission denided error.
Hi Madhav,
Instaed of using browser = new DefaultSelenium("localhost", 4444, "*firefox", http://www.google.com/); use
browser = new DefaultSelenium("localhost", 4444, "*chrome", http://www.google.com/);
This should take care of the permission denied errror message. This is because of the same origin policy. Take a look at