webdrivers.cr v0.4.3
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
-
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
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
Repository
webdrivers.cr
Owner
Statistic
- 12
- 1
- 1
- 3
- 3
- about 1 year ago
- April 29, 2020
License
MIT License
Links
Synced at
Fri, 08 Nov 2024 05:01:03 GMT
Languages