Find which node my selenium-grid remote driver is running on?

时间:2016-12-02 04:50:29

标签: selenium selenium-grid

I obtain a RemoteWebDriver from the hub as follows:

RemoteWebDriver driver = new RemoteWebDriver( 
                                      new URL("http://whatever:4444/wd/hub"),
                                      DesiredCapabilities.internetExplorer() );

Is there a way to programatically find out which node in the grid the remote driver is running on?

I want to log this in an effort to track down intermittent test failures.

0 个答案:

没有答案