SeleniumHQ / SeleniumHQ/selenium
[🚀 Feature]: Download grid within Bindings
- Dominant language
- Java
- Stars
- 34.5k
- Forks
- 8.7k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 92
Description
### Status
* Ruby: : #12299
* Python: #15666
* Java: (n/a - this can/should be done directly with the remote jar)
* JS:
* .NET:
### Feature and motivation
Ruby has always had a wrapper that will download a specified version of the grid so that it can be started for running tests against the server. This isn't necessary now that we are using bazel for the tests. But. It would be nice to have this for our [example code](https://github.com/SeleniumHQ/seleniumhq.github.io/tree/trunk/examples).
Now that it is [supported by Selenium Manager](https://github.com/SeleniumHQ/selenium/pull/12281), it should be pretty straightforward to support.
### Usage example
This is an example of the Ruby implementation
```
server = Selenium::Server.get(:latest, background: true)
server.start
driver = Selenium::WebDriver.for :remote, url: server.webdriver_url, options: Selenium::WebDriver::Options.chrome
driver.quit
server.stop
```
Contributor guide
Assessment
This issue has not been assessed yet.