-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection to remote webdriver #218
Comments
We would also find this useful. Although maybe what's needed is an interface to a selenium java webdriver https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java, and perhaps that is callable directly. |
Usage of the org.openqa.selenium.remote RemoteWebDriver is important because it has a capability to upload file which is not located on the same machine where the browser starts (for example in the case of usage of selenoid) - LocalFileDetector. |
@OStrekalovsky You're able to connect to a remote driver with ease. Please take a look at the connect-driver function. I'll update README with an example later. |
Your example with org.openqa.selenium.remote RemoteWebDriver would be very useful, because the remote driver needs to be properly initializated (i need a capability to specify full URL to remote driver with non empty root path, for example, and initializated LocalFileDetector). IMHO, doing this bypassing |
@igrishaev To say you can connect with ease is a bit of an overstatement. Have used a lot of selenium in other libraries (jruby java, python, clj-webdriver), but I haven't found a way in half a day of trying how to use connect-driver to connect to a Selenium hub in this one. That example would help a lot. |
An example would be greatly appreciated. When I attempt to use
I also tried connecting to the selenium hub, but to no avail:
|
Example:
|
Thanks Alex, it would be nice to add this into Readme. |
@OStrekalovsky now there is an example in readme file, you're welcome to check it out. |
I can't find information or example how to connect to remote webdriver.
It seems that this library always tries to execute webdriver binary on the local system.
But if i want to make tests in docker (for example with selenoid) it should just send requests to remote machine without calling to local executable.
Could you add an example of such use case in documentation?
The text was updated successfully, but these errors were encountered: