Package | Description |
---|---|
com.abmash.api |
Provides the main classes to control browsers and to find and interact with elements on the current web page.
|
com.abmash.api.browser |
Provides classes to extend the
Browser functionality and to further interact with it. |
com.abmash.api.query |
Provides classes to find elements on web pages.
|
com.abmash.core.browser |
Provides classes to deal with different aspects of browser instantiation and its response data.
|
com.abmash.core.browser.interaction |
Provides classes to interact with the browser and its elements.
|
com.abmash.core.browser.waitcondition |
Provides classes to wait for certain events or conditions in order to properly react to changes (AJAX, Websockets, etc.).
|
com.abmash.extraction |
Provides classes to extract specific information out of the current web page.
|
com.abmash.parser |
Provides classes that parse different document content types.
|
Modifier and Type | Method and Description |
---|---|
Browser |
Browser.css(java.lang.String styleDefinitions,
java.lang.Boolean flatImageFolder,
java.lang.Object... args)
Reads CSS from a string and injects it into the current web page.
|
Browser |
Browser.cssFromFile(java.lang.String stylesheetFile,
java.lang.Boolean flatImageFolder,
java.lang.Object... args)
Reads CSS from a file and injects it into the current web page.
|
Browser |
HtmlElement.getBrowser()
Gets the associated browser instance for this element.
|
Constructor and Description |
---|
HtmlElement(Browser browser,
org.openqa.selenium.remote.RemoteWebElement seleniumElement)
Creates a new
HtmlElement instance and caches most important data. |
HtmlElements(Browser browser,
java.util.List<org.openqa.selenium.WebElement> webElements)
/**
Constructs new list with multiple Selenium
WebElement instances. |
Modifier and Type | Method and Description |
---|---|
JavaScriptResult |
JavaScript.evaluate(Browser browser,
java.lang.Object... args)
Evaluates JavaScript synchronously.
|
JavaScriptResult |
JavaScript.evaluateAsync(Browser browser,
java.lang.Object... args)
Evaluates JavaScript asynchronously.
|
Constructor and Description |
---|
Debug(Browser browser)
Constructs new BrowserDebug instance for additional debug methods for developers.
|
Frame(Browser browser)
Constructs new BrowserFrame instance to interact with browser frames
|
History(Browser browser)
Constructs new BrowserHistory instance to interact with the browser history
|
WaitFor(Browser browser)
Constructs new BrowserWait instance to be able to define wait conditions.
|
WaitFor(Browser browser,
int timeout)
Constructs new BrowserWait instance to be able to define wait conditions.
|
Window(Browser browser)
Constructs new BrowserWindow instance to interact with browser windows.
|
Modifier and Type | Method and Description |
---|---|
Browser |
Query.getBrowser() |
Modifier and Type | Method and Description |
---|---|
static Query |
QueryFactory.query(Browser browser,
Predicate... predicates)
Creates a new query to find elements in the specified browser and with the given predicates, used by calling
query(Predicate...) . |
Constructor and Description |
---|
Query(Browser browser,
Predicate... predicates) |
Query(Browser browser,
Predicates predicates) |
Modifier and Type | Class and Description |
---|---|
class |
BrowserRunnable
Runnable implementation of Browser
|
Constructor and Description |
---|
Popup(Browser browser,
java.lang.String windowHandle,
java.lang.String url) |
Constructor and Description |
---|
ActionOnBrowser(Browser browser) |
ActionOnHtmlElement(Browser browser,
HtmlElement element) |
Clear(Browser browser,
HtmlElement element) |
Click(Browser browser,
HtmlElement element,
Click.ClickType clickType) |
DragTo(Browser browser,
HtmlElement sourceElement,
HtmlElement targetElement) |
Hover(Browser browser,
HtmlElement element) |
JavaScriptExecution(Browser browser,
java.lang.String script,
java.lang.Boolean sync,
java.lang.Object... args) |
KeyHold(Browser browser,
HtmlElement sourceElement,
java.lang.String keyName) |
KeyPress(Browser browser,
HtmlElement element,
java.lang.String keyName) |
KeyRelease(Browser browser,
HtmlElement sourceElement,
java.lang.String keyName) |
MouseMove(Browser browser,
int x,
int y) |
OpenURL(Browser browser,
java.lang.String url) |
Select(Browser browser,
HtmlElement element,
java.lang.String optionQuery,
Select.SelectMethod method) |
Submit(Browser browser,
HtmlElement element,
Submit.SubmitMethod method) |
Type(Browser browser,
HtmlElement element,
java.lang.String text) |
Constructor and Description |
---|
ElementWaitCondition(Browser browser,
Query query) |
JavaScriptEvaluatedWaitCondition(Browser browser,
java.lang.String expression) |
Constructor and Description |
---|
Extractor(Browser browser) |
ExtractorWithDB(Browser browser,
java.sql.Connection conn) |
FindExtractor(Browser browser,
SearchContainer search) |
PageTypeExtractor(Browser browser,
java.sql.Connection conn) |
WordExtractor(Browser browser,
SearchContainer searchContainer) |
Constructor and Description |
---|
HtmlParser(Browser browser) |