Sha256: 94dbd3feea329002090414688960ac5c07bb61ca39aaec03771993324e56f7d2

Contents?: true

Size: 606 Bytes

Versions: 1

Compression:

Stored size: 606 Bytes

Contents

# GogoDriver

Super simple web driver.

## Installation

1. Install gem as you like. 

    $ gem install gogo_driver
    
2. Install chromedriver. Below is the MacOS example.

    $ brew install chromedriver


## Demo

Let me show how to login Facebook.

```
require 'gogo_driver'

driver = GogoDriver.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

1 entries across 1 versions & 1 rubygems

Version Path
gogo_driver-0.0.4 README.md