Ruby language bindings for Selenium WebDriver. Selenium automates browsers for testing and web-based task automation.
Supports MRI >= 3.2.
gem install selenium-webdriverrequire "selenium-webdriver"
driver = Selenium::WebDriver.for :chrome
begin
driver.get "https://www.selenium.dev"
puts driver.title
ensure
driver.quit
endSelenium Manager automatically handles browser driver installation — no manual driver setup required.
Contributions are welcome via GitHub pull requests. See the source code for this binding.
Licensed under the Apache License 2.0.