Seleniumworks
Friday, 28 December 2012
Handling browser-level authentication | Selenium
Whenever a site prompts for an username and password, make use of the following script to override such authentication,
driver.get("http://username:password@site.com/page");
e.g., driver.get("http://admin:root@site.com/page");
1 comment:
Rohit Bhole
2 November 2017 at 03:11
If password contains @ then how will you handle this?
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
If password contains @ then how will you handle this?
ReplyDelete