Created
September 4, 2017 15:05
-
-
Save DerSchimi/bf6ce23cb3372c3a21c85aa77a507bf2 to your computer and use it in GitHub Desktop.
geb basic authentication
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
1. use a profile for tests, eg: | |
ChromeOptions options = new ChromeOptions(); | |
options.addArguments("user-data-dir=C:/Users/user_name/AppData/Local/Google/Chrome/User Data"); | |
options.addArguments("--start-maximized"); | |
2. use multipass extension and add host credentials: | |
https://chrome.google.com/webstore/detail/multipass-for-http-basic/enhldmjbphoeibbpdhmjkchohnidgnah | |
3. test stuff :) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment