GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Decodo/Selenium-proxy-authentication: Example of username and password proxy authentication for use in Selenium

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
README.md
README.md
 
 
extension.py
extension.py
 
 
main.py
main.py
 
 

Repository files navigation

Username and password proxy authentication with Selenium Chrome

To authenticate proxies with username and password on Selenium, the most common approach in various programming languages is to write a custom extension that handles the proxy connection. Such an extension is shown in the extension.py example.

The proxies function in the provided extension.py file can be imported and easily used in any project, as given in the main.py example. The function expects 4 values: username, password, endpoint and port.

proxies_extension = proxies(username, password, endpoint, port)

The extension is then added using the add_extension method:

chrome_options.add_extension(proxies_extension)

This example can be easily adapted for use in other programming languages as well as supported webdrivers.

About

Example of username and password proxy authentication for use in Selenium

decodo.com

Topics

automation-scriptsbrowser-automationheadless-browserhttp-proxynetwork-automationproxyproxy-authenticationproxy-managementproxy-serverpythonseleniumselenium-pythonselenium-webdriverweb-scraping

Resources

Readme
MIT license
Activity
Custom properties

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.