Skip to content
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

Selenium specific use case #622

Open
titusfortner opened this issue Dec 21, 2023 · 4 comments
Open

Selenium specific use case #622

titusfortner opened this issue Dec 21, 2023 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@titusfortner
Copy link

The Selenium drivers do not currently accept credentials when using a proxy to route communication between the internet and the browser.

mozilla/geckodriver#1872
https://bugs.chromium.org/p/chromedriver/issues/detail?id=4118

This application may be an easy way for Selenium users that are behind an authenticated proxy to create a MITM instance and put Forwarder information in the Selenium Options class for the driver, and then configure Forwarder with the authentication credentials needed by the proxy on the system. If this can be documented or explained or if there is a tutorial, then we can publicize it and link to it from the Selenium documentation.

@mmatczuk mmatczuk added the documentation Improvements or additions to documentation label Dec 21, 2023
@mmatczuk mmatczuk added this to the v1.3 milestone Feb 2, 2024
@Choraden
Copy link
Contributor

In order to configure forwarder that way user needs to set up upstream proxy see --proxy flag
The basic authentication username and password can be specified in the host string e.g. user:pass@authenticated-proxy:port.

Optionally, if they need to inject authentication credentials/modify HTTP requests that are encrypted, they need to:

Generally forwarder's documentation has all the needed ingredients to make such explanation. However, I believe Selenium documentation is a place where it can be got together for its specific use case.

@titusfortner
Copy link
Author

@diemol what do you think of this idea? Is it worth documenting a demo of it?

@diemol
Copy link
Member

diemol commented May 28, 2024

Could be a good idea. Maybe in the test practices section?

@titusfortner
Copy link
Author

I don't know how to create an environment where an authenticated driver proxy is required, so we can demo not working vs working.

@Choraden Choraden removed this from the v1.3 milestone Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants