webdrivers~crystal-loot
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: matthewmcgarvey/webdrivers.cr version: ~> 0.2.0
-
Run
shards install
Usage
require "webdrivers"
Chrome
To use the chromedriver do:
webdriver_path = Webdrivers::Chromedriver.install
This will install or update or local webdriver to the most recent version and return the path to it.
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/matthewmcgarvey/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