开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜