I am writing some automation tests, and the site my test needs to connect to requires a site authentication.
I'm not sure how to handle this pop-up in order to provide the username & password. If the dialogue box is closed then the site can not be reached .. e.g. unauthorised access.
I have tried using passing the credentials through the url, but that doesn't work. Any suggestions appreciated.
acceptance.suite.yml
actor: AcceptanceTester modules: enabled: - WebDriver: browser: chrome url: "http://username:password@my.site.autenticated.url" - \Helper\Acceptance
With this I get Unable to parse URI: http://username:password@my.site.autenticated.url