Package | Description |
---|---|
uk.ac.ox.cs.diadem.webapi | |
uk.ac.ox.cs.diadem.webapi.dom | |
uk.ac.ox.cs.diadem.webapi.dom.impl | |
uk.ac.ox.cs.diadem.webapi.dom.utils | |
uk.ac.ox.cs.diadem.webapi.listener |
Modifier and Type | Method and Description |
---|---|
DOMWindow |
WebBrowser.getContentDOMWindow()
Return the top-level dom window associated to this browser
|
DOMWindow |
WebBrowser.getWindow()
Return the top-level dom window associated to this browser.
|
DOMWindow |
WebBrowser.switchToDefaultContent()
http://selenium.googlecode.com/svn/trunk/docs/api/java/org/openqa/selenium/WebDriver.TargetLocator.html Selects
either the first frame on the page, or the main document when a page contains iframes.
|
DOMWindow |
WebBrowser.switchToFrame(DOMElement frameElement)
Select a frame using its previously located elements
|
Modifier and Type | Method and Description |
---|---|
void |
DialogsService.alert(DOMWindow aParent,
String aDialogTitle,
String aText)
Puts up an alert dialog with an OK button.
|
void |
DialogsService.alertCheck(DOMWindow aParent,
String aDialogTitle,
String aText,
String aCheckMsg,
boolean[] aCheckState)
Puts up an alert dialog with an OK button and a labeled checkbox.
|
boolean |
DialogsService.confirm(DOMWindow aParent,
String aDialogTitle,
String aText)
Puts up a dialog with OK and Cancel buttons.
|
boolean |
DialogsService.confirmCheck(DOMWindow aParent,
String aDialogTitle,
String aText,
String aCheckMsg,
boolean[] aCheckState)
Puts up a dialog with OK and Cancel buttons and a labeled checkbox.
|
int |
DialogsService.confirmEx(DOMWindow aParent,
String aDialogTitle,
String aText,
long aButtonFlags,
String aButton0Title,
String aButton1Title,
String aButton2Title,
String aCheckMsg,
boolean[] aCheckState)
Puts up a dialog with up to 3 buttons and an optional, labeled checkbox.
|
boolean |
DialogsService.prompt(DOMWindow aParent,
String aDialogTitle,
String aText,
String[] aValue,
String aCheckMsg,
boolean[] aCheckState)
Puts up a dialog with an edit field and an optional, labeled checkbox.
|
boolean |
DialogsService.promptPassword(DOMWindow aParent,
String aDialogTitle,
String aText,
String[] aPassword,
String aCheckMsg,
boolean[] aCheckState)
Puts up a dialog with a password field and an optional, labeled checkbox.
|
boolean |
DialogsService.promptUsernameAndPassword(DOMWindow aParent,
String aDialogTitle,
String aText,
String[] aUsername,
String[] aPassword,
String aCheckMsg,
boolean[] aCheckState)
Puts up a dialog with an edit field, a password field, and an optional, labeled checkbox.
|
boolean |
DialogsService.select(DOMWindow aParent,
String aDialogTitle,
String aText,
long aCount,
String[] aSelectList,
int[] aOutSelection)
Puts up a dialog box which has a list box of strings from which the user may make a single selection.
|
Modifier and Type | Method and Description |
---|---|
DOMWindow |
DOMElement.click()
Simulates a real mouse left click on an element.
|
DOMWindow |
DOmElementOnJS.clickJS() |
DOMWindow |
DOMElement.fireFocusEvent(String event)
Performs the specified focus/blur event (see
DOMFocusEvent ) on this element element and waits until the
document at the new location (if any), is fully loaded. |
DOMWindow |
DOMElement.fireKeyboardEvent(String event,
char printableChar)
Performs the specified focus event (see
DOMKeyboardEvent ) on this element element and waits until the
document at the new location (if any), is fully loaded. |
DOMWindow |
DOMElement.fireMouseEvent(String event)
Performs only the specified mouse event (see
DOMMouseEvent ) on this element element and waits until the
document at the new location (if any), is fully loaded. |
DOMWindow |
DOMElement.focus()
Simulates a real focus event (also generates the blur on the current active element if any).
|
DOMWindow |
DOMDocument.getEnclosingWindow()
Returns the
DOMWindow object associated with the document or null if none available. |
DOMWindow |
DOMElement.keypress(DOMKeyboardEvent.Key content) |
DOMWindow |
DOMElement.mouseover()
Simulates a real mouseover event (mousemove and mouseover).
|
DOMWindow |
DOMElement.moveToFrame()
When the current
DOMElement is either IFrame of Frame, this method navigates to the enclosed page if they
have the proerty src set. |
DOMWindow |
DOMElement.moveToHREF()
When the current
DOMElement has the href property set, this method navigates to its specified URL. |
DOMWindow |
DOMHTMLSelect.selectByClick(int index)
Simulates a real selection event (click on the select and clik on the option).
|
DOMWindow |
DOMHTMLSelect.selectByClick(String optiontext)
Simulates a real selection event (click on the select and clik on the option).
|
DOMWindow |
DOMHTMLSelect.selectOptionByText(String text) |
DOMWindow |
DOMHTMLSelect.selectOptionIndex(int aSelectedIndex) |
DOMWindow |
DOMElement.sendClick(float x,
float y)
Sends a click event on the given coordinates
|
DOMWindow |
DOMHTMLForm.submit() |
DOMWindow |
DOMElement.type(String content)
Enter the given text of characters on the element (usually an input text).
|
DOMWindow |
DOMTypeableElement.type(String content) |
DOMWindow |
DOMElement.typeAndEnter(String content)
As the method
type(String content) , it types the given text on the element (usually an input text) and
then generates the "VK_RETURN" keypress event at the end. |
Modifier and Type | Method and Description |
---|---|
DOMWindow |
WebDriverBrowserImpl.getContentDOMWindow()
Return the top-level dom window associated to this browser
|
DOMWindow |
WebDriverBrowserImpl.getWindow()
Return the top-level dom window associated to this browser.
|
DOMWindow |
AbstractWebBrowser.getWindow() |
DOMWindow |
WebDriverBrowserImpl.switchToDefaultContent() |
DOMWindow |
WebDriverBrowserImpl.switchToFrame(DOMElement frameElement) |
DOMWindow |
WrapperDOMCallbackFactory.wrapWindow(Object window) |
Modifier and Type | Method and Description |
---|---|
DOMWindow |
DOMElementDecorator.click() |
DOMWindow |
DOMElementDecorator.fireFocusEvent(String event) |
DOMWindow |
DOMElementDecorator.fireKeyboardEvent(String event,
char printableChar) |
DOMWindow |
DOMElementDecorator.fireMouseEvent(String event) |
DOMWindow |
DOMElementDecorator.focus() |
DOMWindow |
DOMElementDecorator.keypress(DOMKeyboardEvent.Key content) |
DOMWindow |
DOMElementDecorator.mouseover() |
DOMWindow |
DOMElementDecorator.sendClick(float x,
float y) |
DOMWindow |
DOMElementDecorator.type(String content) |
DOMWindow |
DOMElementDecorator.typeAndEnter(String content) |
Modifier and Type | Method and Description |
---|---|
static boolean |
WebUtils.isErrorPage(DOMWindow window)
This works based on Mozilla Firefox error messages
|
Modifier and Type | Method and Description |
---|---|
DOMWindow |
OpenNewWindowEvent.window() |
Constructor and Description |
---|
OpenNewWindowEvent(DOMWindow newWindow) |
Copyright © 2020 OXPath Team. All rights reserved.