Proxy
#38
Replies: 2 comments 2 replies
-
Can you try with this? webDriver:
chrome:
args:
- --proxy-server=myproxy.mydomain.eu:8080
- --proxy-bypass-list=*.mydomain.eu As you can see here, the proxy-server arg works for HTTP and HTTPS, while in the proxy-bypass-list arg you can set a comma separated list, if needed. I tried it quickly in local and it works. I'm gonna add an integration test to the existing suite in the next days, currently working on other features. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Hi @giulong,
I've verified it and my grid didn't take in consideration even if the
params are passed correctly. I'm still verifying it with the grid provider
as your said. Thank for the suggestion about Selenium 4 and 3 compatibility.
Cheers
Il lun 11 dic 2023, 22:06 Giulio Longfils ***@***.***> ha
scritto:
… hey @msloma <https://github.com/msloma> did you manage to make it work?
I added the ProxyIT
<https://github.com/giulong/spectrum/blob/main/it-grid/src/test/java/io/github/giulong/spectrum/it_grid/tests/ProxyIT.java>
test to the module that runs on a standalone local grid.
You can see how to set the proxy for each browser in the related
configuration.yaml
<https://github.com/giulong/spectrum/blob/main/it-grid/src/test/resources/configuration.yaml>
.
Basically, there's no proxy running at all, so the test above checks that
every domain which is explicitly bypassed is reachable, while all the
others (which should be reached through the proxy) are not. This is enough
to prove that proxy settings are correctly set in each browser.
One thing that comes to my mind is that Spectrum uses *Selenium 4*, and
there might be compatibility issues
<https://www.selenium.dev/documentation/webdriver/troubleshooting/upgrade_to_selenium_4/>
if you're pointing to a *Selenium 3* grid. Can you clarify this with the
grid vendor?
Please tell me if I can help somehow
—
Reply to this email directly, view it on GitHub
<#38 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKNCHIJMI7MPY6ZAJPPSL3YI5YVVAVCNFSM6AAAAAA7ECW476VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TQMRUGMZTG>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I would suggest the integration of support for browser proxy settings
Normally it could be done for chrome in following way:
it seems that it impossible to do it with yaml
Beta Was this translation helpful? Give feedback.
All reactions