Categorygithub.com/mediabuyerbot/go-webdriver
repositorypackage
0.0.0-20200703113707-b78158d74b83
Repository: https://github.com/mediabuyerbot/go-webdriver.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

go-webdriver Coverage Status

Work in progress...

Contents

Installation

go get github.com/mediabuyerbot/go-webdriver

Commands

Build dependencies

make deps

Run test

make test

Run test with coverage profile

make covertest

Run integration test

make integration

Run sync coveralls

COVERALLS_GO_WEBDRIVER_TOKEN=${COVERALLS_REPO_TOKEN}
make sync-coveralls

Build mocks

make mocks

Download ChromeDriver, GeckoDriver third_party/drivers

make download-drivers

ChromeOptions docs

FirefoxOptions docs

TODO

Protocol implementation

Session

SpecificationExampleChromeFirefox
New Session
Delete Session
Status

Timeouts

SpecificationExampleChromeFirefox
Get Timeouts
Set Timeouts

Navigation

SpecificationExampleChromeFirefox
Navigate To
Get Current URL
Back
Forward
Refresh
Get Title

Context

SpecificationExampleChromeFirefox
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

Cookies

SpecificationExampleChromeFirefox
Get All Cookies
Get Named Cookie
Add Cookie
Delete Cookie
Delete All Cookies

Document

SpecificationExampleChromeFirefox
Get Page Source
Execute Script
Execute Async Script

Screen capture

SpecificationExampleChromeFirefox
Take Screenshot
Take Element Screenshot

User prompts

SpecificationExampleChromeFirefox
Dismiss Alert
Accept Alert
Get Alert Text
Send Alert Text

Elements

SpecificationExampleChromeFirefox
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