webdrivers~crystal-loot

Manage your Selenium Webdrivers with Crystal selenium webdrivers
0.4.2 released

Webdrivers

GitHub release (latest by date) Build status

A Crystal port of the Ruby webdrivers gem. It automatically installs and updates supported webdrivers.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      webdrivers:
        github: matthewmcgarvey/webdrivers.cr
    
  2. 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

  1. Fork it (https://github.com/matthewmcgarvey/webdrivers.cr/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

webdrivers:
  github: crystal-loot/webdrivers.cr
  version: ~> 0.4.2
License MIT
Crystal >= 0.35.0, < 2.0.0

Authors

Dependencies 2

  • crystar 56db8bb9dfbd5ed6d7908353405a5fae632a6561
    {'git' => 'https://github.com/naqvis/crystar.git', 'commit' => '56db8bb9dfbd5ed6d7908353405a5fae632a6561'}
  • habitat ~> 0.4.7
    {'github' => 'luckyframework/habitat', 'version' => '~> 0.4.7'}

Development Dependencies 1

  • ameba ~> 1.1.0
    {'github' => 'crystal-ameba/ameba', 'version' => '~> 1.1.0'}

Dependents 3

Last synced .
search fire star recently