Sha256: 0b9e1e249ca4b1eeaf089822d2756f9e5aeba764762aeed8b66ea24fe18b4ff7

Contents?: true

Size: 717 Bytes

Versions: 7

Compression:

Stored size: 717 Bytes

Contents

# Smart Driver

Smart selenium base web driver written in Ruby.

[![Gyazo](http://i.gyazo.com/511b5265c67d41fc2cd7394c1eee3b7a.gif)](http://gyazo.com/511b5265c67d41fc2cd7394c1eee3b7a)

## Installation

1. Install gem as you like.

    $ gem install smart_driver

2. Install chromedriver. (Below is the MacOS example.)

    $ brew install chromedriver


## Demo

```rb
require 'smart_driver'

driver = SmartDriver.new('https://www.facebook.com/')
driver.find('input#email').fill('mail@gogotanaka.com')
driver.find('input#pass').fill('password')
driver.submit

if driver.has_text?('メールアドレスが正しくありません')
  # ログインエラー後の処理
else
  # ログイン成功時の処理
end
```

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
smart_driver-1.2.1 README.md
smart_driver-1.2.0 README.md
smart_driver-1.1.2 README.md
smart_driver-1.1.1 README.md
smart_driver-1.1.0 README.md
smart_driver-1.0.1 README.md
smart_driver-1.0.0 README.md