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

Proxy #18

Open
emmx opened this issue Sep 13, 2020 · 1 comment
Open

Proxy #18

emmx opened this issue Sep 13, 2020 · 1 comment

Comments

@emmx
Copy link

emmx commented Sep 13, 2020

It would be great to have an option to add a proxy, something like follows:

proxy = { addr: "127.0.0.1", port: 80, user: "foo", pass: "bar" }
Tr4n5l4te::Translator.new sleep_time: 3, proxy: proxy

Looks like you can add the proxy to Capybara by using the phantomjs_options array, apart from "--load-images=no", but there's no way to add options to it from the outside.

--load-images=no
--proxy=addr:port
--proxy-auth=user:pass

Any idea?

@midwire
Copy link
Owner

midwire commented Sep 14, 2020

Hey thanks Matt. It certainly would be useful to do this for certain situations. I'm stretched pretty thin right now but I'll try to dig into it this week and get that in place. Stay tuned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants