Package dev.galasa.selenium
Interface IWebDriver
- All Superinterfaces:
ISeleniumManager
-
Method Summary
Modifier and TypeMethodDescriptionAllocate a new WebPageallocateWebPage
(String url) Allocate a new WebPage for a provided URLallocateWebPage
(String url, IChromeOptions options) Allocate a new WebPage for a provided URL with Chrome OptionsallocateWebPage
(String url, IEdgeOptions options) Allocate a new WebPage for a provided URL with Edge OptionsallocateWebPage
(String url, IFirefoxOptions options) Allocate a new WebPage for a provided URL with Firefox OptionsallocateWebPage
(String url, IInternetExplorerOptions options) Allocate a new WebPage for a provided URL with Internet Explorer OptionsallocateWebPage
(String url, IOperaOptions options) Allocate a new WebPage for a provided URL with Opera Optionsvoid
discard()
Cycle through any pages and quitCreates a new interface to the Chrome properties that can be set.Creates a new interface to the Edge properties that can be set.Creates a new interface to the Firefox properties that can be set.Creates a new interface to the InternetExplorer properties that can be set.Creates a new interface to the Opera properties that can be set.getPages()
Return the active pages
-
Method Details
-
allocateWebPage
Allocate a new WebPage- Specified by:
allocateWebPage
in interfaceISeleniumManager
- Throws:
SeleniumManagerException
-
allocateWebPage
Allocate a new WebPage for a provided URL- Specified by:
allocateWebPage
in interfaceISeleniumManager
- Throws:
SeleniumManagerException
-
allocateWebPage
Allocate a new WebPage for a provided URL with Firefox Options- Specified by:
allocateWebPage
in interfaceISeleniumManager
- Throws:
SeleniumManagerException
-
allocateWebPage
Allocate a new WebPage for a provided URL with Chrome Options- Specified by:
allocateWebPage
in interfaceISeleniumManager
- Throws:
SeleniumManagerException
-
allocateWebPage
Allocate a new WebPage for a provided URL with Edge Options- Specified by:
allocateWebPage
in interfaceISeleniumManager
- Throws:
SeleniumManagerException
-
allocateWebPage
IWebPage allocateWebPage(String url, IInternetExplorerOptions options) throws SeleniumManagerException Allocate a new WebPage for a provided URL with Internet Explorer Options- Specified by:
allocateWebPage
in interfaceISeleniumManager
- Throws:
SeleniumManagerException
-
allocateWebPage
Allocate a new WebPage for a provided URL with Opera Options- Specified by:
allocateWebPage
in interfaceISeleniumManager
- Throws:
SeleniumManagerException
-
getFirefoxOptions
IFirefoxOptions getFirefoxOptions()Creates a new interface to the Firefox properties that can be set.- Specified by:
getFirefoxOptions
in interfaceISeleniumManager
- Returns:
- IFirefoxOptions
-
getChromeOptions
IChromeOptions getChromeOptions()Creates a new interface to the Chrome properties that can be set.- Specified by:
getChromeOptions
in interfaceISeleniumManager
- Returns:
- IChromeOptions
-
getEdgeOptions
IEdgeOptions getEdgeOptions()Creates a new interface to the Edge properties that can be set.- Specified by:
getEdgeOptions
in interfaceISeleniumManager
- Returns:
- IEdgeOptions
-
getOperaOptions
IOperaOptions getOperaOptions()Creates a new interface to the Opera properties that can be set.- Returns:
- IOperaOptions
-
getInternetExplorerOptions
IInternetExplorerOptions getInternetExplorerOptions()Creates a new interface to the InternetExplorer properties that can be set.- Specified by:
getInternetExplorerOptions
in interfaceISeleniumManager
- Returns:
- IInternetExplorerOptions
-
getPages
Return the active pages- Specified by:
getPages
in interfaceISeleniumManager
- Returns:
- List
-
discard
void discard()Cycle through any pages and quit- Specified by:
discard
in interfaceISeleniumManager
-