webdrivers
Version, currently 0.4.516 versions
- 0.4.5latestApr 19, 2026
- 0.4.4not indexedApr 19, 2026
- 0.4.3not indexedApr 19, 2026
- 0.4.2not indexedApr 19, 2026
- 0.4.1not indexedApr 19, 2026
- 0.4.0not indexedApr 19, 2026
- 0.3.2not indexedApr 19, 2026
- 0.3.1not indexedApr 19, 2026
- 0.3.0not indexedApr 19, 2026
- 0.2.5not indexedApr 19, 2026
- 0.2.4not indexedApr 19, 2026
- 0.2.3not indexedApr 19, 2026
- 0.2.2not indexedApr 19, 2026
- 0.2.1not indexedApr 19, 2026
- 0.2.0not indexedApr 19, 2026
- 0.1.0not indexedApr 19, 2026
github.com/crystal-loot/webdrivers.cr
Helps manage drivers for Selenium, such as the Chromedriver.
Installation
# Add this to your shard.yml
dependencies:
webdrivers:
github: crystal-loot/webdrivers.cr
version: ~> 0.4.5Then run:
shards installshard.yml
- Crystal
>= 0.35.0, < 2.0.0- License
- MIT
- Author
- Matthew McGarvey
Dependencies
Runtime Dependencies
Development Dependencies
- ameba~> 1.5.0github: crystal-ameba/amebadev
README
Webdrivers
A Crystal port of the Ruby webdrivers gem. It automatically installs and updates supported webdrivers.
Installation
-
Add the dependency to your
shard.yml:dependencies: webdrivers: github: crystal-loot/webdrivers.cr -
Run
shards install
Usage
require "webdrivers"
On whichever driver you use, calling .install will install, update the local driver if needed and then return the path to it.
Chrome
webdriver_path = Webdrivers::Chromedriver.install
Firefox (Gecko)
webdriver_path = Webdrivers::Geckodriver.install
Locating the Chrome browser
On Linux, Webdrivers searches a list of common install paths (including Snap and Flatpak exports) for a Chrome/Chromium binary in order to detect the installed version. Two environment variables let you override that search when your install lives somewhere unusual:
WEBDRIVERS_CHROME_BINARY— absolute path to the Chrome binary. When set, the search is skipped and this path is used directly.
Development
- Fork
- Code
crystal tool format spec/ src/./bin/amebacrystal spec- Commit
- Open PR
Contributing
- Fork it (https://github.com/crystal-loot/webdrivers.cr/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Matthew McGarvey - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.4.5- Tagged
- Apr 19, 2026
- Commit
374ba042abcc- Crystal
>= 0.35.0, < 2.0.0- Indexed
- yes
Dependents
Repository
github.com/crystal-loot/webdrivers.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Nov 10, 2026
- Synced
- Nov 9, 2026
- Versions
- 16