1

I've tried this on multiple versions of selenium 2 (from 2.24-2.28) and on two different systems. It's a very simple scenario. I want to run RC commands via Selenium Grid and I don't want to port my 1000+ test scripts to WebDriver, so hopefully that's not the only solution.

Test case:

1) START HUB:

java -jar selenium-server-standalone-2.28.0.jar -role hub

2) START NODE:

java -jar selenium-server-standalone-2.28.0.jar -role node -hub http://localhost:4444/grid/register

(I've tried every variation of this I could think of, including -role rc)

Communications seem fine between the two. The console status is up and shows the connection between the two.

3) REQUEST RC URL:

http://localhost:4444/selenium-server/driver/?cmd=getNewBrowserSession&1=*firefox&2=http://www.google.com

Output is always:

HTTP ERROR: 500

Problem accessing /selenium-server/driver/. Reason:

java.lang.NullPointerException

If I revert to non-grid mode, the request returns as expected.

Am I missing something or is RC simply not supported under Grid 2?

4

1 に答える 1

0

これは 2.30 のブラウザーとしての *firefox では修正されたようですが、*googlechrome でも同じ動作が見られます

于 2013-03-01T22:52:16.653 に答える