开发者

Running Selenium from eclipse + browser says file not found for base url

开发者 https://www.devze.com 2023-03-19 19:16 出处:网络
I am trying to run Selenium from eclipse. This is the code that I am executing - Selenium selenium =

I am trying to run Selenium from eclipse. This is the code that I am executing -

Selenium selenium = 
new DefaultSelenium("localhost",4444,"*iexplore","http://www.google.com");

selenium.start();

The browser opens up with the baseurl but it displays a 404 error saying 'file not found' (be it any website I specify). Like for example in this case, I get the message shown in the image -

http://i51.tinypic.com/2c开发者_如何学JAVApxoio.jpg

Can anyone please help me out this?


Proceed the statements above with -

selenium.open("/");
selenium.windowFocus();
0

精彩评论

暂无评论...
验证码 换一张
取 消