Created
August 7, 2017 09:26
-
-
Save amwolff/eed05634f413a084a804e64d54b2070a to your computer and use it in GitHub Desktop.
Initializing browser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm doing this: | |
func main() { | |
selenium.SetDebug(false) | |
browser := selenium.Capabilities{ | |
"browserName": "firefox", | |
} | |
wd, err := selenium.NewRemote(browser, "http://127.0.0.1:4444/wd/hub") | |
if err != nil { | |
logrus.Panic(err) | |
} | |
[...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment