0
Firefox version - 12.0

Eclipse Java EE IDE for Web Developers.

Version: Indigo Service Release 1
Build id: 20110916-0149

selenium-remote-control-1.0.3

サーバーを設定しました

Eclipse から次のコードを実行すると、Firefox を開くことができません

Selenium selenium = new DefaultSelenium("localhost",4444,"*firefox","http://bing.com");
        selenium.setSpeed("5000");
        selenium.start();
        selenium.windowMaximize();
        selenium.windowFocus();
        selenium.open("/"); 

セッションがnullであることを示す次のエラーが表示されます

これを解決する方法を知りたいのですが、これはブラウザの互換性の問題ですか?

00:03:35.989 INFO - Java: Sun Microsystems Inc. 20.2-b06
00:03:35.989 INFO - OS: Windows 7 6.1 amd64
00:03:35.989 INFO - v0.9.2 [2006], with Core v0.8.3 [1879]
00:03:36.052 INFO - Version Jetty/5.1.x
00:03:36.052 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
00:03:36.052 INFO - Started HttpContext[/selenium-server,/selenium-server]
00:03:36.052 INFO - Started HttpContext[/,/]
00:03:36.083 INFO - Started SocketListener on 0.0.0.0:4444
00:03:36.083 INFO - Started org.mortbay.jetty.Server@72e3b895
00:04:10.692 INFO - Checking Resource aliases
00:04:10.692 INFO - Command request: setSpeed[2000, ] on session null
00:04:10.692 INFO - Got result: OK on session null
00:04:10.708 INFO - Command request: getNewBrowserSession[*firefox, http://gmail.com, ] on session null
00:04:10.786 INFO - Launching session 50708
00:04:10.895 INFO - Preparing Firefox profile...
00:08:40.713 INFO - Command request: setSpeed[5000, ] on session null
00:08:40.713 INFO - Got result: OK on session null
00:08:40.728 INFO - Command request: getNewBrowserSession[*firefox, http://bing.com, ] on session null
00:08:40.728 INFO - Launching session 320728
00:08:40.837 INFO - Preparing Firefox profile...
4

0 に答える 0