-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Is proxy supported? #39
Comments
Ah my bad - I didn't grep correctly and missed this: Indeed it's not supported yet. I'm unsure how hard it would be to support this. I'll leave this opened for now, but please feel free to close if you feel this is out of scope! |
@thbar I can add proxy support pretty quick but there's one downside you can set it only when browser starts and there's no way currently to change it on fly, as Chrome doesn't support it cyrus-and/chrome-remote-interface#152 |
@route is the browser starting once per test suite? Or instead (as I assume) once per test? If it's once per test, it's perfectly acceptable as a limitation (& not causing any trouble in my case at least). |
In general you start browser once and then reset after each test, but in this case proxy options will be passed as command line options so reset won't help, you have to restart browser after each test and this will slow down everything. |
To clarify: I use multiple drivers in this test suite: one is If I understand well this means that each "driver type" will start a browser once, and it will be fast enough. In all cases, I can provide feedback if you implement this (but don't feel forced to do so if you feel it's not the good moment or not a good feature! my use case is pretty exotic!). |
@thbar in fact we needed proxies too, this was the beginning of |
I pushed changes 9ddeddf for basic support, though it is missing auth and runtime proxy rotation |
@route thanks! I will try this out & will report back. |
@route I was able to set the proxy, and it mostly worked, but my suite is regressing for some weird reason at this point. I cannot pinpoint it exactly at this point, but will investigate! I will still close, because I believe the proxy support is already in master & providing value as is. Thanks! |
I'm trying to configure
cuprite
in a way that would use puffing-billy as a proxy (this is useful to mock any request, including external ones like Stripe or Recurly).I attempted to do this:
Apparently the call to
set_proxy
raises aNotImplementedError
.Is this expected?
Many thanks!
The text was updated successfully, but these errors were encountered: