When working with Selenium Server, it would be very useful to log the name of the machine that actually does the execution of the selenium script. Is it possible to get that information?
I am working with C# bindings, but answer in any language would do fine.
We should know where the Selenium Server is running.
This is Java Code :
we have straight method for this in
HttpCommandExecutorclass,getAddressOfRemoteServer()code for Firefox :
so if you have an instance of
RemoteWebDriverrcw.getCommandExecutor().getAddressOfRemoteServer()code for IE :
Same as Above OR for Local
((HttpCommandExecutor)(new InternetExplorerDriver().getCommandExecutor())).getAddressOfRemoteServer();