Skip to content

Commit

Permalink
api-docs: update registerBasicAuth (#3623)
Browse files Browse the repository at this point in the history
Based on this https://www.selenium.dev/blog/2021/a-tour-of-4-authentication/
This feature is currently implemented on top of Selenium 4’s CDP(Chrome DevTools Protocol) support, and so only works on those browser that support that protocol.
That means it won't work in Safari.
And it's not going to solve the Safari basic auth issue in selenium. See https://www.browserstack.com/docs/automate/selenium/basic-http-authentication
  • Loading branch information
tim-yao authored Mar 1, 2023
1 parent de25335 commit 7174a87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/api/client-commands/registerBasicAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const {Logger} = require('../../utils');

/**
* Automate the input of basic auth credentials whenever they arise.
* This feature is currently implemented on top of Selenium 4’s CDP(Chrome DevTools Protocol) support, and so only works on those browser that support that protocol
*
* @example
* this.demoTest = function (browser) {
Expand Down

0 comments on commit 7174a87

Please sign in to comment.