Skip to content

[🐛 Bug]: Selenium Manager Proxy Not Working #12104

@titusfortner

Description

@titusfortner

What happened?

As of #11865 the proxy value is being ignored

How can we reproduce the issue?

./selenium-manager --browser chrome --proxy http://localhost:8080

this should return:

ERROR   error sending request for url (https://chromedriver.storage.googleapis.com/LATEST_RELEASE_113): error trying to connect: tcp connect error: Connection refused (os error 61)

Relevant log output

$ ./selenium-manager --browser chrome --proxy http://localhost:8080 --debug
DEBUG	Using proxy: http://localhost:8080
DEBUG	Using shell command to find out chrome version
DEBUG	Running command: "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --version"
DEBUG	Output: "Google Chrome 113.0.5672.126 "
DEBUG	The version of chrome is 113.0.5672.126
DEBUG	Detected browser: chrome 113
DEBUG	Reading chromedriver version from https://chromedriver.storage.googleapis.com/LATEST_RELEASE_113
DEBUG	Required driver: chromedriver 113.0.5672.63
DEBUG	Running command: "chromedriver --version"
DEBUG	Output: ""
DEBUG	Driver URL: https://chromedriver.storage.googleapis.com/113.0.5672.63/chromedriver_mac64.zip
DEBUG	File extracted to /Users/titusfortner/.cache/selenium/chromedriver/mac64/113.0.5672.63/chromedriver (17875584 bytes)
INFO	/Users/titusfortner/.cache/selenium/chromedriver/mac64/113.0.5672.63/chromedriver

Operating System

macOS

Selenium version

n/a

What are the browser(s) and version(s) where you see this issue?

n/a

What are the browser driver(s) and version(s) where you see this issue?

n/a

Are you using Selenium Grid?

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-rustRust code is mostly Selenium ManagerI-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions