public interface BrowserInteractionService
WebDriver
API.Modifier and Type | Method and Description |
---|---|
void |
deleteAllCookies()
Delete all the cookies for the current domain.
|
String |
getTitle()
Returns the title of the current page.
|
void |
openURL(String url)
Load a new web page in the current browser window.
|
void |
refresh()
Refresh the current page
|
void |
switchToFrame(String frameNameOrId)
Select a frame by its name or ID.
|
void openURL(String url)
WebDriver.Navigation.to(String)
.url
- The URL to load. It is best to use a fully qualified URLString getTitle()
void switchToFrame(String frameNameOrId)
frameNameOrId
- the name of the frame window, the id of the <frame> or <iframe>
element, or the (zero-based) indexorg.openqa.selenium.NoSuchFrameException
- If the frame cannot be foundvoid refresh()
void deleteAllCookies()
Copyright © 2018–2020 b+m Informatik AG. All rights reserved.