Package com.codeborne.selenide.proxy
Interface SelenideProxyServerFactory
- All Known Implementing Classes:
DefaultSelenideProxyServerFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for creating custom SelenideProxyServer in your tests
-
Method Summary
Modifier and TypeMethodDescriptionCreates aSelenideProxyServer
Allows user to change settings of BrowserUpProxy before the proxy is started.
-
Method Details
-
create
Creates aSelenideProxyServer
Allows 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
SelenideProxyServer
instance
-