From 7174a877f1f2a6a8bb049fc7fa52f74e0368a379 Mon Sep 17 00:00:00 2001 From: Tim Yao <31641325+tim-yao@users.noreply.github.com> Date: Wed, 1 Mar 2023 21:36:11 +1100 Subject: [PATCH] api-docs: update registerBasicAuth (#3623) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- lib/api/client-commands/registerBasicAuth.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/api/client-commands/registerBasicAuth.js b/lib/api/client-commands/registerBasicAuth.js index 032c25b3dd..47888e9210 100644 --- a/lib/api/client-commands/registerBasicAuth.js +++ b/lib/api/client-commands/registerBasicAuth.js @@ -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) {