MachinePublishers / jBrowserDriver

A programmable, embeddable web browser driver compatible with the Selenium WebDriver spec -- headless, WebKit-based, pure Java
Other
809 stars 143 forks source link

Fixed selenium proxy serialization issue #276

Closed vkepin closed 7 years ago

vkepin commented 7 years ago

https://github.com/MachinePublishers/jBrowserDriver/issues/239#issuecomment-288341899

hollingsworthd commented 7 years ago

Looks good. Thank you for contributing this!

GrzegorzDrozd commented 7 years ago

It fails :/

Settings.Builder settings = Settings.builder();
settings.proxy(new ProxyConfig(ProxyConfig.Type.SOCKS, "localhost", 8181));
settings.userAgent(UserAgent.CHROME);
settings.timezone(Timezone.EUROPE_LONDON);

driver = new JBrowserDriver(settings.build());

Fails with exception: https://gist.github.com/GrzegorzDrozd/4c0ea0a338e9ec25d715dad1892bc58a