go get github.com/mediabuyerbot/go-webdriver
make depsmake testmake covertestmake integrationCOVERALLS_GO_WEBDRIVER_TOKEN=${COVERALLS_REPO_TOKEN}
make sync-coverallsmake mocksmake download-drivers- V8 dev
- Chromium command line switches
- Chromium command line switches
- Chromium command line prefs name
TODO
| Specification | Example | Chrome | Firefox |
|---|---|---|---|
| New Session | ✓ | ✓ | |
| Delete Session | ✓ | ✓ | |
| Status | ✓ | ✓ |
| Specification | Example | Chrome | Firefox |
|---|---|---|---|
| Get Timeouts | ✓ | ✓ | |
| Set Timeouts | ✓ | ✓ |
| Specification | Example | Chrome | Firefox |
|---|---|---|---|
| Navigate To | ✓ | ✓ | |
| Get Current URL | ✓ | ✓ | |
| Back | ✓ | ✓ | |
| Forward | ✓ | ✓ | |
| Refresh | ✓ | ✓ | |
| Get Title | ✓ | ✓ |
| Specification | Example | Chrome | Firefox |
|---|---|---|---|
| Get Window Handle | ✓ | ✓ | |
| Close Window | ✓ | ✓ | |
| Switch To Window | ✓ | ✓ | |
| Get Window Handles | ✓ | ✓ | |
| New Window | ✓ | ✓ | |
| Switch To Frame | ✓ | ✓ | |
| Switch To Parent Frame | ✓ | ✓ | |
| Get Window Rect | ✓ | ✓ | |
| Set Window Rect | ✓ | ✓ | |
| Maximize Window | ✓ | ✓ | |
| Minimize Window | ✓ | ✓ | |
| Fullscreen Window | ✓ | ✓ |
| Specification | Example | Chrome | Firefox |
|---|---|---|---|
| Get All Cookies | ✓ | ✓ | |
| Get Named Cookie | ✓ | ✓ | |
| Add Cookie | ✓ | ✓ | |
| Delete Cookie | ✓ | ✓ | |
| Delete All Cookies | ✓ | ✓ |
| Specification | Example | Chrome | Firefox |
|---|---|---|---|
| Get Page Source | ✓ | ✓ | |
| Execute Script | ✓ | ✓ | |
| Execute Async Script | ✓ | ✓ |
| Specification | Example | Chrome | Firefox |
|---|---|---|---|
| Take Screenshot | ✓ | ✓ | |
| Take Element Screenshot | ✓ | ✓ |
| Specification | Example | Chrome | Firefox |
|---|---|---|---|
| Dismiss Alert | ✓ | ✓ | |
| Accept Alert | ✓ | ✓ | |
| Get Alert Text | ✓ | ✓ | |
| Send Alert Text | ✓ | ✓ |
| Specification | Example | Chrome | Firefox |
|---|---|---|---|
| Find Element | ✓ | ✓ | |
| Find Elements | ✓ | ✓ | |
| Find Element From Element | ✓ | ✓ | |
| Find Elements From Element | ✓ | ✓ | |
| Get Active Element | ✓ | ✓ | |
| Is Element Selected | ✓ | ✓ | |
| Get Element Attribute | ✓ | ✓ | |
| Get Element Property | ✓ | ✓ | |
| Get Element CSS Value | ✓ | ✓ | |
| Get Element Text | ✓ | ✓ | |
| Get Element Tag Name | ✓ | ✓ | |
| Get Element Rect | ✓ | ✓ | |
| Element Enabled | ✓ | ✓ | |
| Element Click | ✓ | ✓ | |
| Element Clear | ✓ | ✓ | |
| Element Send Keys | ✓ | ✓ |