Reputation: 340
For a project, I need to use Selenium Webdriver for running my test case on a server. I have seen the documentation, but I do not know how to implement it in my code and how to use it.
I have already test with:
driver = webdriver.Remote(command_executor='http://ip_address:4444/wd/hub/static/resource/hub.html',desired_capabilities=DesiredCapabilities.FIREFOX)
But it doesn't work.
PS: I use Python for my test and Linux is the os of my server.
Upvotes: 1
Views: 4278
Reputation: 151
Try
driver = webdriver.Remote(command_executor='http://ip_address:4444/wd/hub/',desired_capabilities=DesiredCapabilities.FIREFOX)`
the URL you are using in your code there looks quite broken to me :-/
Upvotes: 2