You can provide credentials in URL itself it means we will add username and password in URL so while running script it will bypass the same.
Syntax
Example :
http://mukeshotwani:[email protected]
If username/password contanis the following special characters, you should use URL encoding(Percent-encoding)