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 Optionsvoiddiscard()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.getPages()Return the active pages
-
Method Details
-
allocateWebPage
Allocate a new WebPage- Specified by:
allocateWebPagein interfaceISeleniumManager- Throws:
SeleniumManagerException
-
allocateWebPage
Allocate a new WebPage for a provided URL- Specified by:
allocateWebPagein interfaceISeleniumManager- Throws:
SeleniumManagerException
-
allocateWebPage
Allocate a new WebPage for a provided URL with Firefox Options- Specified by:
allocateWebPagein interfaceISeleniumManager- Throws:
SeleniumManagerException
-
allocateWebPage
Allocate a new WebPage for a provided URL with Chrome Options- Specified by:
allocateWebPagein interfaceISeleniumManager- Throws:
SeleniumManagerException
-
allocateWebPage
Allocate a new WebPage for a provided URL with Edge Options- Specified by:
allocateWebPagein 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:
allocateWebPagein interfaceISeleniumManager- Throws:
SeleniumManagerException
-
getFirefoxOptions
IFirefoxOptions getFirefoxOptions()Creates a new interface to the Firefox properties that can be set.- Specified by:
getFirefoxOptionsin interfaceISeleniumManager- Returns:
- IFirefoxOptions
-
getChromeOptions
IChromeOptions getChromeOptions()Creates a new interface to the Chrome properties that can be set.- Specified by:
getChromeOptionsin interfaceISeleniumManager- Returns:
- IChromeOptions
-
getEdgeOptions
IEdgeOptions getEdgeOptions()Creates a new interface to the Edge properties that can be set.- Specified by:
getEdgeOptionsin interfaceISeleniumManager- Returns:
- IEdgeOptions
-
getInternetExplorerOptions
IInternetExplorerOptions getInternetExplorerOptions()Creates a new interface to the InternetExplorer properties that can be set.- Specified by:
getInternetExplorerOptionsin interfaceISeleniumManager- Returns:
- IInternetExplorerOptions
-
getPages
Return the active pages- Specified by:
getPagesin interfaceISeleniumManager- Returns:
- List
-
discard
void discard()Cycle through any pages and quit- Specified by:
discardin interfaceISeleniumManager
-