开发者

opera browser not loading the page using selenium Rc(Java)

I have a suite of Selenium tests (created using Java in Selenium RC 1.0.3) that work perfectly with I开发者_如何学编程E, Firefox and Google Chrome. But when I try to use Opera (I tried both versions 9 and 10) the first "open" command times out (both windows open but the target page is never loaded).

Has anybody made Opera work with Selenium RC?


Try to add a "true" argument to each open() (or, using the perl driver, open_ok()) function call .Then it works with opera 10. Not tested with Opera 11 (just released in 2011).

Example.

$sel->open_ok("/page.php?id=3027"); #WRONG

$sel->open_ok("/page.php?id=3027", "true"); #RIGHT
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜