Skip to content

How to change the proxy settings of an active browser in the middle of a test? #2100

@gouravkumar99

Description

@gouravkumar99
          Thanks @mdmintz for the support, but I am not using wire. I am using the Driver() option as follows:

proxy_d = f"{self.PROXY_USER}:{self.PROXY_PASSWORD}@{self.PROXYURL}:{self.proxy_randomport}" driver = Driver(uc=True,user_data_dir=user_data_dir, multi_proxy=True, proxy=proxy_d)

i want to change new proxy in running browser.

Originally posted by @gouravkumar99 in #1807 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeduplicateThe answer/solution already exists somewherequestionSomeone is looking for answers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions