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

[rust] Fix proxy setup in Selenium Manager (fix #12104) #12108

Merged
merged 2 commits into from
May 30, 2023

Conversation

bonigarcia
Copy link
Member

@bonigarcia bonigarcia commented May 28, 2023

Description

This PR fixes the proxy setup in Selenium Manager, broken as of #11865. Also, this PR contains a negative test for proxy setup.

UPDATE: I discovered the existing proxy test based on mockserver was actually not working, so I dropped that test in this PR. To test manually the proxy support, I used mitmproxy locally, but I haven't found a manner to implement an automated test about it.

Motivation and Context

This PR fixes #12104.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@dev-ardi
Copy link
Contributor

What was the issue? I think I messed up when merging

@bonigarcia
Copy link
Member Author

What was the issue? I think I messed up when merging

This change broke the proxy support. The current PR should fix it.

Copy link
Member

@diemol diemol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @bonigarcia!

@bonigarcia bonigarcia merged commit a174abe into trunk May 30, 2023
11 of 12 checks passed
@bonigarcia bonigarcia deleted the se_mgr_fix_proxy branch May 30, 2023 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[🐛 Bug]: Selenium Manager Proxy Not Working
3 participants