-
Hello Michael, I was wondering if you have any custom settings for HTTP/HTTPS authentication other than passing username and password in the self.open("https://username:[email protected]"). I can imagine you've had to deal with 401 errors while running some scripts. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @DevOps-Martins , there's another way to handle authentication (via proxy server):
(That Additionally, from inside an already running test, you can spin up a new window that uses an authenticated proxy server for a connection:
(Replace |
Beta Was this translation helpful? Give feedback.
Hi @DevOps-Martins , there's another way to handle authentication (via proxy server):
(That
proxy
option is unique to SeleniumBase, which essentially lets you run tests through an authenticated Proxy server when using Chrome.)Additionally, from inside an already running test, you can spin up a new window that uses an authenticated proxy server for a connection:
(Replace
None
with a proxy string in the format:USERNAME:PASSWORD@IP_ADDRESS:PORT
)