-
Notifications
You must be signed in to change notification settings - Fork 276
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
Goutte Proxy #8
Comments
I'm not sure. What usecase creates this need? |
Our QA environment is htaccess protected outside our LAN (when we work at home). In cucumber, we would set a proxy with Celerity based on which profile we were using that would let us through when we were working remotely. I did a search in Goutte and it seems like it does support it, I'm just not sure how to hook it up elegantly with Mink. You can set |
Ok, got it. Will do ;-) |
Update to latest Mink version and you'll be able to do something like this: # behat.yml
default:
environment:
parameters:
start_url: http://en.wikipedia.org/
goutte:
zend_config:
adapter: Zend\Http\Client\Adapter\Proxy
proxy_host: proxy.myhost.com
proxy_port: 8080
imports:
- mink/behat.yml Read about available parameters http://framework.zend.com/manual/en/zend.http.client.adapters.html. |
Is it possible to set a proxy when using Goutte with mink?
The text was updated successfully, but these errors were encountered: