Package com.codeborne.selenide.proxy
Interface SelenideProxyServerFactory
- All Known Implementing Classes:
DefaultSelenideProxyServerFactory
@ParametersAreNonnullByDefault
public interface SelenideProxyServerFactory
Interface for creating custom SelenideProxyServer in your tests
-
Method Summary
Modifier and TypeMethodDescriptionCreates aSelenideProxyServerAllows user to change settings of BrowserUpProxy before the proxy is started.
-
Method Details
-
create
@Nonnull @CheckReturnValue SelenideProxyServer create(Config config, @Nullable org.openqa.selenium.Proxy userProvidedProxy) Creates aSelenideProxyServerAllows user to change settings of BrowserUpProxy before the proxy is started. Allows user to change settings of Selenium proxy. Must callSelenideProxyServer.start()to start proxy server. Must callSelenideProxyServer.createSeleniumProxy()to create Selenium proxy server instance. For implementation example seeDefaultSelenideProxyServerFactory- Parameters:
config- - selenide configuserProvidedProxy- - additional proxy provided from user- Returns:
- new
SelenideProxyServerinstance
-