Skip to content

Instantly share code, notes, and snippets.

@DerSchimi
Created September 4, 2017 15:05
Show Gist options
  • Save DerSchimi/bf6ce23cb3372c3a21c85aa77a507bf2 to your computer and use it in GitHub Desktop.
Save DerSchimi/bf6ce23cb3372c3a21c85aa77a507bf2 to your computer and use it in GitHub Desktop.
geb basic authentication
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