webdrivers

Automatically installs and manages various browsers' webdrivers for Selenium testing selenium webdrivers
0.2.0 released

Webdrivers

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
        version: ~> 0.2.0
    
  2. 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

  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: matthewmcgarvey/webdrivers.cr
  version: ~> 0.2.0
License MIT
Crystal 0.34.0

Authors

Dependencies 3

  • crystar ~> 0.1.5
    {'github' => 'naqvis/crystar', 'version' => '~> 0.1.5'}
  • habitat ~> 0.4.3
    {'github' => 'luckyframework/habitat', 'version' => '~> 0.4.3'}
  • halite ~> 0.10.5
    {'github' => 'icyleaf/halite', 'version' => '~> 0.10.5'}

Development Dependencies 0

Dependents 0

Last synced .
search fire star recently