How to manage basic authentication in code?

How to manage basic authentication in code?

Hi Ian,

You can use the code snippet mentioned below to manage authentication in code:

driver.get("https://<username>:<password>@www.example.com/index.html")