@ParametersAreNonnullByDefault
public interface SelenideProxyServerFactory
Interface for creating custom SelenideProxyServer in your tests
| Modifier and Type | Method and Description |
|---|---|
SelenideProxyServer |
create(Config config,
org.openqa.selenium.Proxy userProvidedProxy)
Creates a
SelenideProxyServer
Allows user to change settings of BrowserUpProxy before the proxy is started. |
@Nonnull @CheckReturnValue SelenideProxyServer create(Config config, @Nullable org.openqa.selenium.Proxy userProvidedProxy)
SelenideProxyServer
Allows user to change settings of BrowserUpProxy before the proxy is started.
Allows user to change settings of Selenium proxy.
Must call SelenideProxyServer.start() to start proxy server.
Must call SelenideProxyServer.createSeleniumProxy() to create Selenium proxy server instance.
For implementation example see DefaultSelenideProxyServerFactoryconfig - - selenide configuserProvidedProxy - - additional proxy provided from userSelenideProxyServer instance