public interface MiniBrowser
Modifier and Type | Interface and Description |
---|---|
static class |
MiniBrowser.Advice
TODO Describe.
|
Modifier and Type | Method and Description |
---|---|
void |
back()
Forces back button on the browser
|
WebActionExecutor |
getActionExecutor()
Returns a WebActionExecutor if available for this implementation, or null otherwise
|
AdviceProcessor |
getAdviceProcessor() |
DOMElement |
getDOMElementByLocator(String xPathLocator)
It returns the DOMElement identified by the given xpath.
|
String |
getLocationURL()
Returns the URL of the resource that the web browser is currently displaying, or null if no navigation to any url
has been performed yet.
|
URL |
getURL()
Returns the a URL object for
getLocationURL() . |
void |
navigate(String uRI)
Navigate to the given URL and waits until the new page is fully loaded (listen to "load" JavaScript event)
|
void |
navigate(URI uri) |
void |
shutdown()
Shuts down the browser.
|
WebActionExecutor getActionExecutor()
AdviceProcessor getAdviceProcessor()
DOMElement getDOMElementByLocator(String xPathLocator) throws WebAPINoSuchElementException
xPathLocator
- WebAPINoSuchElementException
- if the element is not found, or the found node is not an element nodevoid navigate(String uRI)
uRI
- a
- WebAPITimeoutException if the set timeout is exceededvoid navigate(URI uri)
void back()
String getLocationURL()
URL getURL()
getLocationURL()
.void shutdown()
Copyright © 2020 OXPath Team. All rights reserved.