public class FirefoxOptionsBean extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
FirefoxOptionsBean(org.openqa.selenium.firefox.FirefoxOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
void |
setBaseDir(String baseStrDir) |
void |
setFirefoxProfile(org.openqa.selenium.firefox.FirefoxProfile profile) |
void |
setGeckoDrivers(Map<org.jspringbot.keyword.selenium.OsCheck.OSType,org.springframework.core.io.Resource> geckoDrivers) |
void |
setGeckoDriverVersion(String geckoDriverVersion) |
void |
setIsHeadless(boolean isHeadless) |
static File |
unzip(InputStream in,
File dir) |
public FirefoxOptionsBean(org.openqa.selenium.firefox.FirefoxOptions options)
public void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void setFirefoxProfile(org.openqa.selenium.firefox.FirefoxProfile profile)
public void setIsHeadless(boolean isHeadless)
public void setGeckoDriverVersion(String geckoDriverVersion)
public void setBaseDir(String baseStrDir)
public void setGeckoDrivers(Map<org.jspringbot.keyword.selenium.OsCheck.OSType,org.springframework.core.io.Resource> geckoDrivers) throws IOException
IOExceptionpublic static File unzip(InputStream in, File dir) throws IOException
IOExceptionCopyright © 2018. All rights reserved.