-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[chrome_devtools] add Basic Auth example in Java #658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Deploy preview for jovial-austin-42fe02 ready! Built with commit f293af4 https://deploy-preview-658--jovial-austin-42fe02.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @dbudim ,
Thank for the PR.
Can you look into the comments.
Also, am unable to execute the code sample after doing modifications as below
Predicate<URI> uriPredicate = uri -> uri.getHost().contains("https://the-internet.herokuapp.com"); ((HasAuthentication) driver).register(uriPredicate, UsernameAndPassword.of("admin", "admin")); driver.get("https://the-internet.herokuapp.com/basic_auth");
:wave @diemol , Can you please review the code sample and suggest the correct one.
Thank you!
docs_source_files/content/support_packages/chrome_devtools.de.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @dbudim !
Congratulations on your first contribution to Selenium docs @dbudim 🎉 🎉 |
* [chrome_devtools] add Basic Auth example in Java * [chrome_devtools] add driver type that supports basic auth * [chrome_devtools] add HasAuthentication Co-authored-by: Sri Harsha <[email protected]> d5b4294
Thank you 🎉 🎉 🎉 |
Thanks for contributing to the Selenium site and documentation!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
Added Java example of using Basic Auth via chrome dev tools
Motivation and Context
Types of changes
Checklist