sclevine / agouti

A WebDriver client and acceptance testing library for Go
MIT License
821 stars 102 forks source link

Add method PhantomJSWithProxy, fix issue #70 #122

Closed co-kevin closed 6 years ago

sclevine commented 7 years ago

Hi @hookszhang,

The sample code provided in #70 is a workaround. To implement proxy support, we should introduce an agouti.Proxy method that returns an agouti.Option. This option should also set the proxy capabilities for other WebDrivers that respect that configuration method instead.

co-kevin commented 7 years ago

Ok. I will try to modify as you suggest.