SeleniumHQ / selenium

A browser automation framework and ecosystem.
https://selenium.dev
Apache License 2.0
30.6k stars 8.17k forks source link

[🚀 Feature]: Download grid within Bindings #12305

Open titusfortner opened 1 year ago

titusfortner commented 1 year ago

Status

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. Now that it is supported by Selenium Manager, 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
github-actions[bot] commented 1 year ago

@titusfortner, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

titusfortner commented 10 months ago

Want to wait on this until we can get #13022 sorted

Delta456 commented 6 days ago

Are we still going with this?

diemol commented 6 days ago

This is something Titus wants to implement. The last time we met, we decided it was a very low priority.