Cover image for πŸ›‘πŸ›‘  How to Handle Proxy in Selenium(with Demo)? πŸ›‘πŸ›‘

πŸ›‘πŸ›‘ How to Handle Proxy in Selenium(with Demo)? πŸ›‘πŸ›‘

promode profile image Pramod Dutta ・1 min read

βœ… Join us - https://sendfox.com/thetestingacademy

In this video, We are going to learn How to Handle Proxy in Selenium(with Demo) | Handle Proxy Authentication.

πŸš€ What is a Proxy Server?

A proxy server acts as a gateway between you and the internet. It's an intermediary server separating end users from the websites they browse.

Proxy servers act as a firewall and web filter, provide shared network connections, and cache data to speed up common requests

 Proxy in Selenium

πŸš€ Code to Handle it

Download Code : - https://scrolltest.com/automation/proxy

πŸš€ How to Handle Proxy Authentication?

You can do via MultiPass for HTTP basic authentication

Download the extension from

Download the extension as crx. You can get it as crx from chrome-extension-downloader

After that the config is simple.

  static  void initDriver() {
        ChromeOptions cOptions = new ChromeOptions();
        cOptions.addExtensions(new File("MultiPass-for-HTTP-basic-authentication_v.crx"));
        driver = new ChromeDriver(cOptions);

 static void configureAuthWithExtension(String url, String username, String password) {

πŸš€ Charles DownLoad :


Posted on Jun 30 by:

promode profile

Pramod Dutta


Lead Automation Expert || Founder of TheTestingAcademy.com || Youtube at TheTestingacademy || Udemy Teacher. || scrolltest.com


markdown guide