- after(Path) - Method in class com.github.loyada.jdollarx.BasicPath
-
The element appears after the given path
- after(Path) - Method in interface com.github.loyada.jdollarx.Path
-
The element appears after the given path
- after(Path) - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- afterSibling(Path) - Method in class com.github.loyada.jdollarx.BasicPath
-
The element has a preceding sibling that matches to the given Path parameter
- afterSibling(Path) - Method in interface com.github.loyada.jdollarx.Path
-
The element is a sibling of the given path, and appears after it
- afterSibling(Path) - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- aggregatedcaseSensitiveTextContains(String) - Static method in class com.github.loyada.jdollarx.XpathUtils
-
- aggregatedCaseSensitiveTextEquals(String) - Static method in class com.github.loyada.jdollarx.XpathUtils
-
- aggregatedTextContains(String) - Static method in class com.github.loyada.jdollarx.XpathUtils
-
- aggregatedTextEndsWith(String) - Static method in class com.github.loyada.jdollarx.XpathUtils
-
- aggregatedTextEquals(String) - Static method in class com.github.loyada.jdollarx.XpathUtils
-
- aggregatedTextStartsWith(String) - Static method in class com.github.loyada.jdollarx.XpathUtils
-
- AgGrid - Class in com.github.loyada.jdollarx.singlebrowser
-
Custom class to validate the presence of an AgGrid, and interact with it, since it can be tricky.
- AgGrid.AgGridBuilder - Class in com.github.loyada.jdollarx.singlebrowser
-
- AgGridMatchers - Class in com.github.loyada.jdollarx.singlebrowser.custommatchers
-
Hamcrest matchers for an AgGrid
- AgGridMatchers() - Constructor for class com.github.loyada.jdollarx.singlebrowser.custommatchers.AgGridMatchers
-
- ancestorOf(Path) - Method in class com.github.loyada.jdollarx.BasicPath
-
- ancestorOf(Path) - Method in interface com.github.loyada.jdollarx.Path
-
The element contains the given path, i.e.
- ancestorOf(Path) - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- anchor - Static variable in class com.github.loyada.jdollarx.BasicPath
-
An anchor(or "a") element
- anchor - Static variable in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- and(ElementProperty...) - Method in class com.github.loyada.jdollarx.BasicPath
-
Alias equivalent to that().
- and(ElementProperty) - Method in interface com.github.loyada.jdollarx.ElementProperty
-
returns a new property, that is a combination of the current property AND the given property parameter.
- and(ElementProperty...) - Method in interface com.github.loyada.jdollarx.Path
-
- and(ElementProperty...) - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- andNot(ElementProperty) - Method in interface com.github.loyada.jdollarx.ElementProperty
-
returns a new property, that is equivalent to the current property, BUT NOT the property parameter.
- assertCanvasImageIsEqualToExpected(InBrowser, Path, InputStream) - Static method in class com.github.loyada.jdollarx.Images
-
Verify that the element's image is pixel-perfect
- assertCanvasImageIsEqualToExpected(InputStream) - Method in class com.github.loyada.jdollarx.singlebrowser.SingltonBrowserImage
-
Verify that the canvas image is pixel-perfect
- assertHTMLImgSoureIsEqualToExpected(InBrowser, Path, InputStream) - Static method in class com.github.loyada.jdollarx.Images
-
Verify that an image downloaded from an HTML img src attribute, is pixel-perfect
- assertImageIsEqualToExpected(InBrowser, Path, InputStream) - Static method in class com.github.loyada.jdollarx.Images
-
Verify that the element's image is pixel-perfect
- assertImageIsEqualToExpected(InputStream) - Method in class com.github.loyada.jdollarx.singlebrowser.SingltonBrowserImage
-
Verify that the element's image is pixel-perfect
- assertImageIsEqualToExpectedWithShiftAndCrop(InBrowser, Path, InputStream, int) - Static method in class com.github.loyada.jdollarx.Images
-
Verify that the element's image is pixel-perfect, but allowing some crop/shift
- assertImageIsEqualToExpectedWithShiftAndCrop(InputStream, int) - Method in class com.github.loyada.jdollarx.singlebrowser.SingltonBrowserImage
-
Verify that the element's image is pixel-perfect, but allowing one
to be a cropped/shifted version of the other.
- assertImageIsSimilarToExpected(InBrowser, Path, InputStream, int) - Static method in class com.github.loyada.jdollarx.Images
-
Verify the picture is "similar" to the reference image.
- assertImageIsSimilarToExpected(InputStream, int) - Method in class com.github.loyada.jdollarx.singlebrowser.SingltonBrowserImage
-
Verify the picture is "similar" to the reference image.
- assertImgSourceIsEqualToExpected(InputStream) - Method in class com.github.loyada.jdollarx.singlebrowser.SingltonBrowserImage
-
Verify that the HTML img source is pixel-perfect
- atLeast(int) - Static method in class com.github.loyada.jdollarx.NPath
-
- atMost(int) - Static method in class com.github.loyada.jdollarx.NPath
-
- canvas - Static variable in class com.github.loyada.jdollarx.BasicPath
-
- captureCanvas(InBrowser, Path) - Static method in class com.github.loyada.jdollarx.Images
-
- captureCanvasToFile(InBrowser, Path, File) - Static method in class com.github.loyada.jdollarx.Images
-
Save an HTML5 canvas to file.
- captureCanvasToFile(File) - Method in class com.github.loyada.jdollarx.singlebrowser.SingltonBrowserImage
-
Capture the image of an HTML5 canvas as a png, and save it to the given file.
- captureImgSourceToFile(File) - Method in class com.github.loyada.jdollarx.singlebrowser.SingltonBrowserImage
-
Capture the source of an img element as a png, and save it to the given file
- captureImgSrcToFile(InBrowser, Path, File) - Static method in class com.github.loyada.jdollarx.Images
-
Save the source of an HTML img element to file
- captureToFile(InBrowser, Path, File) - Static method in class com.github.loyada.jdollarx.Images
-
Save image to file
- captureToFile(File) - Method in class com.github.loyada.jdollarx.singlebrowser.SingltonBrowserImage
-
Capture the image of an element as a png, and save it to the given file
- caseSensitiveTextContains(String) - Static method in class com.github.loyada.jdollarx.XpathUtils
-
- caseSensitiveTextEquals(String) - Static method in class com.github.loyada.jdollarx.XpathUtils
-
- CELL - Static variable in class com.github.loyada.jdollarx.singlebrowser.AgGrid
-
- childNumber(Integer) - Static method in class com.github.loyada.jdollarx.BasicPath
-
the element is the nth child of its parent.
- ChildNumber(Integer) - Constructor for class com.github.loyada.jdollarx.BasicPath.ChildNumber
-
Does not return any usable Path by itself.
- childOf(Path) - Method in class com.github.loyada.jdollarx.BasicPath
-
- childOf(Path) - Method in interface com.github.loyada.jdollarx.Path
-
The element is a direct child of the given path
- childOf(Path) - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- click() - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
click at the location of this element
- clickAt(Path) - Method in class com.github.loyada.jdollarx.InBrowser
-
Click at the location the first element that fits the given path.
- clickAt(Path) - Static method in class com.github.loyada.jdollarx.singlebrowser.InBrowserSinglton
-
Click on the location of the element that corresponds to the given path.
- clickMenuOfHeader(String) - Method in class com.github.loyada.jdollarx.singlebrowser.AgGrid
-
Click on the menu of a the column with the given header
- clickOn(Path) - Method in class com.github.loyada.jdollarx.InBrowser
-
Click on the first element that fits the given path.
- clickOn(Path) - Static method in class com.github.loyada.jdollarx.singlebrowser.InBrowserSinglton
-
Click on the element that corresponds to the given path.
- clickOnSort(String) - Method in class com.github.loyada.jdollarx.singlebrowser.AgGrid
-
Click on the 'sort' column with the given header
- close() - Method in class com.github.loyada.jdollarx.Images.Obscure
-
- close() - Method in class com.github.loyada.jdollarx.singlebrowser.sizing.ElementResizer
-
Revert state
- close() - Method in class com.github.loyada.jdollarx.singlebrowser.sizing.WindowResizer
-
Revert state
- COL_ID - Static variable in class com.github.loyada.jdollarx.singlebrowser.AgGrid
-
- com.github.loyada.jdollarx - package com.github.loyada.jdollarx
-
main package for defining Path DOM elements and browser interaction
- com.github.loyada.jdollarx.custommatchers - package com.github.loyada.jdollarx.custommatchers
-
Custom Hamcrest matchers for assertions in tests - supports multiple instances of browsers, as
well as assertions on a W3C Document
- com.github.loyada.jdollarx.singlebrowser - package com.github.loyada.jdollarx.singlebrowser
-
Simplified API for interaction with a single instance of browser
- com.github.loyada.jdollarx.singlebrowser.custommatchers - package com.github.loyada.jdollarx.singlebrowser.custommatchers
-
Custom Hamcrest matchers for assertions in tests - for a singleton instance of browser
- com.github.loyada.jdollarx.singlebrowser.sizing - package com.github.loyada.jdollarx.singlebrowser.sizing
-
- com.github.loyada.jdollarx.utils - package com.github.loyada.jdollarx.utils
-
Utilities for troubleshooting
- containedIn(Path) - Method in class com.github.loyada.jdollarx.singlebrowser.AgGrid.AgGridBuilder
-
optional - define the container of the grid
- containing(Path) - Method in class com.github.loyada.jdollarx.BasicPath
-
- containing(Path) - Method in interface com.github.loyada.jdollarx.Path
-
The element contains the given path, i.e.
- containing(Path) - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- contains(Path) - Method in class com.github.loyada.jdollarx.BasicPath
-
- contains(Path...) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
The given elements in the parameters list are contained in the current element
- contains(Path) - Method in interface com.github.loyada.jdollarx.Path
-
The element contains the given path, i.e.
- contains(Path) - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- createPropertyGenerator(Function<T, String>, Function<T, String>) - Static method in class com.github.loyada.jdollarx.CustomElementProperties
-
Easy way to define a custom property generator that accepts a single parameter.
- createPropertyGenerator(BiFunction<T, V, String>, BiFunction<T, V, String>) - Static method in class com.github.loyada.jdollarx.CustomElementProperties
-
Easy way to define a custom property generator that accepts two parameter.
- customElement(String) - Static method in class com.github.loyada.jdollarx.BasicPath
-
Create a custom element Path using a simple API instead of the builder pattern.
- CustomElementProperties - Class in com.github.loyada.jdollarx
-
Functions to create custom
ElementProperty, if the property is unsupported out-of-the-box.
- CustomMatchers - Class in com.github.loyada.jdollarx.custommatchers
-
A collection of Hamcrest custom matchers, that are optimized to be as atomic as possible when interacting with the browser or a W3C document,
and return useful error messages in case of a failure.
- CustomMatchers() - Constructor for class com.github.loyada.jdollarx.custommatchers.CustomMatchers
-
- CustomMatchers - Class in com.github.loyada.jdollarx.singlebrowser.custommatchers
-
A collection of Hamcrest custom matchers, that are optimized to be as atomic as possible when interacting with the browser or a W3C document,
and return useful error messages in case of a failure.
- CustomMatchers() - Constructor for class com.github.loyada.jdollarx.singlebrowser.custommatchers.CustomMatchers
-
- CustomMatchersUtil - Class in com.github.loyada.jdollarx.custommatchers
-
Internal implementation.
- CustomMatchersUtil() - Constructor for class com.github.loyada.jdollarx.custommatchers.CustomMatchersUtil
-
- CustomMatchersUtil.ISPresentNTimesMatcherForDocument - Class in com.github.loyada.jdollarx.custommatchers
-
Internal implementation
- CustomMatchersUtil.NTimesMatcher - Class in com.github.loyada.jdollarx.custommatchers
-
Internal implementation
- customNameSpaceElement(String) - Static method in class com.github.loyada.jdollarx.BasicPath
-
- DebugUtil - Class in com.github.loyada.jdollarx.utils
-
Several utilities that are useful for troubleshooting of existing browser pages.
- descendantOf(Path) - Method in class com.github.loyada.jdollarx.BasicPath
-
The element is inside the given path parameter
- descendantOf(Path) - Method in interface com.github.loyada.jdollarx.Path
-
The element is contained in the given path element, i.e.
- descendantOf(Path) - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- describedBy(String) - Method in class com.github.loyada.jdollarx.BasicPath
-
- describedBy(String) - Method in interface com.github.loyada.jdollarx.Path
-
A useful method to give a readable description to the path, for example:
Suppose that instead of describing it's DOM positions and attributes, you prefer to describe it as "search result".
- describedBy(String) - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- describeTo(Description) - Method in class com.github.loyada.jdollarx.custommatchers.CustomMatchersUtil.ISPresentNTimesMatcherForDocument
-
- describeTo(Description) - Method in class com.github.loyada.jdollarx.custommatchers.CustomMatchersUtil.NTimesMatcher
-
- describeTo(Description) - Method in class com.github.loyada.jdollarx.custommatchers.HasElementNTimes.NTimesMatcher
-
- div - Static variable in class com.github.loyada.jdollarx.BasicPath
-
- div - Static variable in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- doesNotExist(String) - Static method in class com.github.loyada.jdollarx.XpathUtils
-
- doesNotExistInEntirePage(String) - Static method in class com.github.loyada.jdollarx.XpathUtils
-
- doubleClick() - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
doubleclick at the location of this element
- doubleClickOn(Path) - Method in class com.github.loyada.jdollarx.InBrowser
-
Doubleclick the location of the first element that fits the given path.
- doubleClickOn(Path) - Static method in class com.github.loyada.jdollarx.singlebrowser.InBrowserSinglton
-
Doubleclick on the element that corresponds to the given path.
- doWithRetries(Runnable, int, int) - Static method in class com.github.loyada.jdollarx.Operations
-
Retry an action/assertion up to a number of times, with delay after each time.
- doWithRetries(Callable<T>, int, int) - Static method in class com.github.loyada.jdollarx.Operations
-
Retry an action up to a number of times, with delay after each time.
- down(Integer) - Method in class com.github.loyada.jdollarx.Operations.Scroll
-
scroll down number of pixels
- down(Integer) - Method in class com.github.loyada.jdollarx.Operations.ScrollElement
-
scroll down number of pixels
- downUntilElementIsPresent(Path) - Method in class com.github.loyada.jdollarx.Operations.ScrollElement
-
Scroll down until the DOM contains the expected element.
- downUntilElementIsPresent(Path, int, int) - Method in class com.github.loyada.jdollarx.Operations.ScrollElement
-
Scroll down until the DOM contains the expected element.
- downUntilPredicate(Path, Predicate<WebElement>) - Method in class com.github.loyada.jdollarx.Operations.ScrollElement
-
Scroll down until the DOM contains the expected element, and
the given condition for that element is met.
- downUntilPredicate(Path, int, int, Predicate<WebElement>) - Method in class com.github.loyada.jdollarx.Operations.ScrollElement
-
Scroll down until the DOM contains the expected element, and
the supplied condition for that element is met.
- dragAndDrop(Path) - Method in class com.github.loyada.jdollarx.InBrowser
-
Drag and drop in the browser.
- DragAndDrop(WebDriver, Path) - Constructor for class com.github.loyada.jdollarx.Operations.DragAndDrop
-
- dragAndDrop(Path) - Static method in class com.github.loyada.jdollarx.singlebrowser.InBrowserSinglton
-
Drag and drop in the browser.
- dragAndDrop() - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
drag and drop this element, to another element or another location.
- driver - Static variable in class com.github.loyada.jdollarx.singlebrowser.InBrowserSinglton
-
- getAlternateXPath() - Method in class com.github.loyada.jdollarx.BasicPath
-
- getAlternateXPath() - Method in interface com.github.loyada.jdollarx.Path
-
- getAlternateXPath() - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- getBuilder() - Static method in class com.github.loyada.jdollarx.singlebrowser.AgGrid
-
- getDescribedBy() - Method in class com.github.loyada.jdollarx.BasicPath
-
- getDescribedBy() - Method in interface com.github.loyada.jdollarx.Path
-
- getDescribedBy() - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- getDocumentFromString(String) - Static method in class com.github.loyada.jdollarx.PathParsers
-
Convert a string to a
Document, Assuming utf-8 encoding.
- getDOM(Path) - Static method in class com.github.loyada.jdollarx.utils.DebugUtil
-
- getDOMOfAll(Path) - Static method in class com.github.loyada.jdollarx.utils.DebugUtil
-
Get all matches of the path as a list of Element.
- getDriver() - Method in class com.github.loyada.jdollarx.InBrowser
-
- getElementProperties() - Method in class com.github.loyada.jdollarx.BasicPath
-
- getElementProperties() - Method in interface com.github.loyada.jdollarx.Path
-
- getElementProperties() - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- getErrorImage(BufferedImage, BufferedImage) - Static method in class com.github.loyada.jdollarx.Images.ImageComparator
-
- getErrorImage(InputStream) - Method in class com.github.loyada.jdollarx.singlebrowser.SingltonBrowserImage
-
compare captured image to a reference image and return an image that highlights the differences.
- getErrorsImage(InBrowser, Path, InputStream) - Static method in class com.github.loyada.jdollarx.Images
-
create and return an image that highlights the different pixels between the captured image and the reference image
- getObscuredElements() - Method in class com.github.loyada.jdollarx.Images.Obscure
-
- getPageAsW3CDoc() - Static method in class com.github.loyada.jdollarx.utils.DebugUtil
-
Download the current page and convert it to a W3C Document, which can be
inspected using the
PathParsers methods
- getRowIndex(Path) - Method in class com.github.loyada.jdollarx.singlebrowser.AgGrid
-
assuming the row is already present in the DOM, get its internal index in the table.
- getRowIndexOfCell(Path) - Method in class com.github.loyada.jdollarx.singlebrowser.AgGrid
-
assuming the row is already present in the DOM, get its internal index in the table.
- getTotalHeight() - Method in class com.github.loyada.jdollarx.singlebrowser.sizing.ElementResizer
-
get total scrollable height of the element
- getTotalHeight() - Method in class com.github.loyada.jdollarx.singlebrowser.sizing.WindowResizer
-
get total scrollable height of the browser
- getTotalWidth() - Method in class com.github.loyada.jdollarx.singlebrowser.sizing.ElementResizer
-
get total scrollable width of the element
- getTotalWidth() - Method in class com.github.loyada.jdollarx.singlebrowser.sizing.WindowResizer
-
get total scrollable width of the browser
- getUnderlyingSource() - Method in class com.github.loyada.jdollarx.BasicPath
-
- getUnderlyingSource() - Method in interface com.github.loyada.jdollarx.Path
-
- getUnderlyingSource() - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- getVisibleHeaderPath(String) - Method in class com.github.loyada.jdollarx.singlebrowser.AgGrid
-
Make sure the given column header is visible, and returns a Path element to access it.
- getVisibleHeight() - Method in class com.github.loyada.jdollarx.singlebrowser.sizing.ElementResizer
-
get visible height of the element
- getVisibleHeight() - Method in class com.github.loyada.jdollarx.singlebrowser.sizing.WindowResizer
-
get visible height of the browser
- getVisibleWidth() - Method in class com.github.loyada.jdollarx.singlebrowser.sizing.ElementResizer
-
get visible width of the element
- getVisibleWidth(Path) - Static method in class com.github.loyada.jdollarx.singlebrowser.sizing.ElementResizer
-
get visible width of the element
- getVisibleWidth() - Method in class com.github.loyada.jdollarx.singlebrowser.sizing.WindowResizer
-
get visible width of the browser
- getXPath() - Method in class com.github.loyada.jdollarx.BasicPath
-
- getXPath() - Method in interface com.github.loyada.jdollarx.Path
-
The Optional xpath is maps to.
- getXPath() - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- getXpathExplanation() - Method in class com.github.loyada.jdollarx.BasicPath
-
- getXpathExplanation() - Method in interface com.github.loyada.jdollarx.Path
-
- getXpathExplanation() - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- hasAggregatedCaseSensitiveTextContaining(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
When aggregating all the text under this element, it contains the given substring.
- hasAggregatedCaseSensitiveTextEqualTo(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
When aggregating all the text under this element, it equals to the given parameter.
- hasAggregatedTextContaining(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
When aggregating all the text under this element, it contains the given substring (ignoring case)
- hasAggregatedTextEndingWith(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
When aggregating all the text under this element, it ends with the given substring (ignoring case)
- hasAggregatedTextEqualTo(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
When aggregating all the text under this element, it equals to the given parameter.
- hasAggregatedTextStartingWith(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
When aggregating all the text under this element, it starts with the given substring (ignoring case)
- hasAncesctor(Path) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element is inside the given parameter
- hasAnyOfClasses(String...) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element that has at least one of the classes given
- hasAnyOfClasses(String...) - Static method in class com.github.loyada.jdollarx.XpathUtils
-
- hasAttribute(String, String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
- hasAttribute(String, String) - Static method in class com.github.loyada.jdollarx.XpathUtils
-
- hasCaseSensitiveText(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element has text equals to the given string parameter.
- hasCaseSensitiveTextContaining(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
The text in the element contains the given parameter.
- hasChild(Path...) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element is the parent of the given list of elements
- hasChildren - Static variable in class com.github.loyada.jdollarx.ElementProperties
-
The element has 1 or more children (the opposite from hasNoChildren).
- hasClass(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Has the class given in the parameter
- hasClass(String) - Static method in class com.github.loyada.jdollarx.XpathUtils
-
- hasClassContaining(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element that has a class with name that contain the given parameter
- hasClassContaining(String) - Static method in class com.github.loyada.jdollarx.XpathUtils
-
- hasClasses(String...) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element that has all of the given classes
- hasClasses(String...) - Static method in class com.github.loyada.jdollarx.XpathUtils
-
- hasDescendant(Path...) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
The given elements in the parameters list are contained in the current element
- hasElement(Path) - Static method in class com.github.loyada.jdollarx.custommatchers.CustomMatchers
-
Successful if the browser has an element that corresponds to the given path.
- HasElementNTimes - Class in com.github.loyada.jdollarx.custommatchers
-
Internal implementation - not to be instantiated directly.
- HasElementNTimes(Path, int) - Constructor for class com.github.loyada.jdollarx.custommatchers.HasElementNTimes
-
- HasElementNTimes.NTimesMatcher - Class in com.github.loyada.jdollarx.custommatchers
-
Internal implementation - not to be instantiated directly.
- hasElements(Path) - Static method in class com.github.loyada.jdollarx.custommatchers.CustomMatchers
-
Successful if element is present in the browser or a W3C document.
- HasElements - Class in com.github.loyada.jdollarx.custommatchers
-
Internal implementation.
- HasElements(Path) - Constructor for class com.github.loyada.jdollarx.custommatchers.HasElements
-
- hasId(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element has ID equals to the given parameter
- hasId(String) - Static method in class com.github.loyada.jdollarx.XpathUtils
-
- hasName(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element with a "name" attribute equal to the given parameter.
- hasNChildren(Integer) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
The element has n direct children
- hasNoChildren - Static variable in class com.github.loyada.jdollarx.ElementProperties
-
The element has no children.
- hasNoElement(Path) - Static method in class com.github.loyada.jdollarx.custommatchers.CustomMatchers
-
Successful if given browser has no elements that correspond to the given path.
- hasNonOfTheClasses(String...) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element that has none of the given classes
- hasParent(Path) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element is direct child of the element matched by the given parameter
- hasProperty(Function<T, ElementProperty>, T) - Static method in class com.github.loyada.jdollarx.CustomElementProperties
-
Syntactic sugar that allows to define properties of the form:
- hasProperty(BiFunction<T, V, ElementProperty>, T, V) - Static method in class com.github.loyada.jdollarx.CustomElementProperties
-
- hasRawXpathProperty(String, String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Custom property that allows to state the raw expath of a property, and give a string description of it.
- hasRole(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element with a "role" attribute equal to the given role.
- hasSomeText - Static variable in class com.github.loyada.jdollarx.ElementProperties
-
Element has non-empty text
- hasSomeText - Static variable in class com.github.loyada.jdollarx.XpathUtils
-
- hasSource(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element with a "src" attribute equal to the given parameter.
- hasText(String) - Static method in class com.github.loyada.jdollarx.custommatchers.CustomMatchers
-
Successful if element has the text equal to the given parameter in the browser/document.
- HasText - Class in com.github.loyada.jdollarx.custommatchers
-
Internal implementation.
- HasText(String) - Constructor for class com.github.loyada.jdollarx.custommatchers.HasText
-
- hasText(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element has text equals to the given string parameter, ignoring case.
- hasText(String) - Static method in class com.github.loyada.jdollarx.singlebrowser.custommatchers.CustomMatchers
-
Successful if element has the text equal to the given parameter in the browser/document.
- hasTextContaining(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
The text in the element contains the given parameter, ignoring case
- hasTextEndingWith(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element has text that ends with the given parameter
- hasTextStartingWith(String) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element has text that starts with the given parameter
- header - Static variable in class com.github.loyada.jdollarx.BasicPath
-
Any header element
- header - Static variable in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- header1 - Static variable in class com.github.loyada.jdollarx.BasicPath
-
- header1 - Static variable in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- header2 - Static variable in class com.github.loyada.jdollarx.BasicPath
-
- header2 - Static variable in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- header3 - Static variable in class com.github.loyada.jdollarx.BasicPath
-
- header3 - Static variable in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- header4 - Static variable in class com.github.loyada.jdollarx.BasicPath
-
- header4 - Static variable in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- header5 - Static variable in class com.github.loyada.jdollarx.BasicPath
-
- header5 - Static variable in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- header6 - Static variable in class com.github.loyada.jdollarx.BasicPath
-
- header6 - Static variable in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- HEADER_CELL - Static variable in class com.github.loyada.jdollarx.singlebrowser.AgGrid
-
- HEADER_TXT - Static variable in class com.github.loyada.jdollarx.singlebrowser.AgGrid
-
- highlight(Path) - Static method in class com.github.loyada.jdollarx.utils.DebugUtil
-
Highlight the first element that match the path in the browser, for 2 seconds.
- highlightAll(Path) - Static method in class com.github.loyada.jdollarx.utils.DebugUtil
-
Highlight all the elements that match the path in the browser, for 2 seconds.
- hover() - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
hover over the element with this path in the browser
- hoverOver(Path) - Method in class com.github.loyada.jdollarx.InBrowser
-
Hover over the location of the first element that fits the given path
- hoverOver(Path) - Static method in class com.github.loyada.jdollarx.singlebrowser.InBrowserSinglton
-
Hover over on the location of the element that corresponds to the given path.
- html - Static variable in class com.github.loyada.jdollarx.BasicPath
-
- html - Static variable in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- iframe - Static variable in class com.github.loyada.jdollarx.BasicPath
-
- image - Static variable in class com.github.loyada.jdollarx.BasicPath
-
- Images - Class in com.github.loyada.jdollarx
-
- Images() - Constructor for class com.github.loyada.jdollarx.Images
-
- Images.ImageComparator - Class in com.github.loyada.jdollarx
-
Internal utility class for images
- Images.Obscure - Class in com.github.loyada.jdollarx
-
- immediatelyAfterSibling(Path) - Method in class com.github.loyada.jdollarx.BasicPath
-
The sibling right before the current element matches to the given Path parameter
- immediatelyAfterSibling(Path) - Method in interface com.github.loyada.jdollarx.Path
-
The sibling right before the element matches the given path parameter
- immediatelyAfterSibling(Path) - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- immediatelyBeforeSibling(Path) - Method in class com.github.loyada.jdollarx.BasicPath
-
The sibling right after the element matches the given path parameter
- immediatelyBeforeSibling(Path) - Method in interface com.github.loyada.jdollarx.Path
-
The sibling right after the element matches the given path parameter
- immediatelyBeforeSibling(Path) - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- in(InBrowser) - Method in class com.github.loyada.jdollarx.custommatchers.HasText
-
- in(Document) - Method in class com.github.loyada.jdollarx.custommatchers.HasText
-
- in(InBrowser) - Method in class com.github.loyada.jdollarx.custommatchers.IsPresent
-
- in(Document) - Method in class com.github.loyada.jdollarx.custommatchers.IsPresent
-
- InBrowser - Class in com.github.loyada.jdollarx
-
A wrapper around Selenium WebDriver, used for interaction with the browser.
- InBrowser(WebDriver) - Constructor for class com.github.loyada.jdollarx.InBrowser
-
Creates a connection to a browser, using the given driver
- inBrowser() - Method in class com.github.loyada.jdollarx.Operations.KeysDown
-
Send key-down to the browser in general
- inBrowser() - Method in class com.github.loyada.jdollarx.Operations.ReleaseKey
-
releasing a key in the browser in general
- InBrowserFinder - Class in com.github.loyada.jdollarx
-
Internal implementation.
- InBrowserFinder() - Constructor for class com.github.loyada.jdollarx.InBrowserFinder
-
- InBrowserSinglton - Class in com.github.loyada.jdollarx.singlebrowser
-
A simplified API built to interact with a single instance of a running browser.
- InBrowserSinglton() - Constructor for class com.github.loyada.jdollarx.singlebrowser.InBrowserSinglton
-
- input - Static variable in class com.github.loyada.jdollarx.BasicPath
-
- input - Static variable in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- inside(Path) - Method in class com.github.loyada.jdollarx.BasicPath
-
Element that is inside another element
- inside(Path) - Method in interface com.github.loyada.jdollarx.Path
-
Element that is inside another element
- inside(Path) - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- insideTopLevel() - Method in class com.github.loyada.jdollarx.BasicPath
-
Returns an element that is explicitly inside the document.
- insideTopLevel() - Method in interface com.github.loyada.jdollarx.Path
-
Returns an element that is explicitly inside the document.
- insideTopLevel() - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- insideTopLevel(String) - Static method in class com.github.loyada.jdollarx.XpathUtils
-
- isAbsent() - Static method in class com.github.loyada.jdollarx.singlebrowser.custommatchers.CustomMatchers
-
Successful if the browser has no elements that correspond to the given path.
- isAbsentFrom(InBrowser) - Static method in class com.github.loyada.jdollarx.custommatchers.CustomMatchers
-
Successful if given browser has no elements that correspond to the given path.
- isAbsentFrom(Document) - Static method in class com.github.loyada.jdollarx.custommatchers.CustomMatchers
-
Successful if given document has no elements that correspond to the given path.
- isAfter(Path...) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element appears after all the given parameters in the document
- isAfter(NPath) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element is after at-least/at-most/exactly the given number of the given element.
- isAfterSibling(Path...) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element is a sibling of all the elements defined by the given paths, AND is after all those siblings
- isAfterSibling(NPath) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element is a sibling of the at-least/at-most/exactly n elements given, and appears after them.
- isAncestorOf(Path...) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
The given elements in the parameters list are contained in the current element
- isBefore(Path...) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element is before all the elements given in the parameters
- isBefore(NPath) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element is before at-least/at-most/exactly the given number of the given element.
- isBeforeSibling(Path...) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element is a sibling of all the elements defined by the given paths, AND is before all those siblings
- isBeforeSibling(NPath) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element is a sibling of the at-least/at-most/exactly n elements given, and appears before them.
- isChecked - Static variable in class com.github.loyada.jdollarx.ElementProperties
-
The element is checked
- isChildOf(Path) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element is direct child of the element matched by the given parameter
- isContainedIn(Path) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
- isDescendantOf(Path) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element is inside the given parameter
- isDisabled - Static variable in class com.github.loyada.jdollarx.ElementProperties
-
The element is diabled
- isDisplayed(Path) - Method in class com.github.loyada.jdollarx.InBrowser
-
is the element present and displayed? Typically you should not use this method directly.
- isDisplayed() - Static method in class com.github.loyada.jdollarx.singlebrowser.custommatchers.CustomMatchers
-
Successful if given element is present and displayed in the browser.
- isDisplayed(Path) - Static method in class com.github.loyada.jdollarx.singlebrowser.InBrowserSinglton
-
Relies on Selenium WebElement::isDisplayed, thus non-atomic.
- isDisplayedIn(InBrowser) - Static method in class com.github.loyada.jdollarx.custommatchers.CustomMatchers
-
Successful if given element is present and displayed in the browser.
- isEnabled - Static variable in class com.github.loyada.jdollarx.ElementProperties
-
The element is enabled
- isEnabled(Path) - Method in class com.github.loyada.jdollarx.InBrowser
-
is the element present and enabled? Typically you should not use this method directly.
- isEnabled() - Static method in class com.github.loyada.jdollarx.singlebrowser.custommatchers.CustomMatchers
-
Successful if given element is present and enabled in the browser.
- isEnabled(Path) - Static method in class com.github.loyada.jdollarx.singlebrowser.InBrowserSinglton
-
Relies on Selenium WebElement::isEnabled, thus non-atomic.
- isEnabledIn(InBrowser) - Static method in class com.github.loyada.jdollarx.custommatchers.CustomMatchers
-
Successful if given element is present and enabled in the browser.
- isHidden - Static variable in class com.github.loyada.jdollarx.ElementProperties
-
Element that is hidden.
- isHidden - Static variable in class com.github.loyada.jdollarx.XpathUtils
-
- isInside(Path) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element is inside the given parameter
- isLastSibling - Static variable in class com.github.loyada.jdollarx.ElementProperties
-
The element is the last sibling (ie: last child) of its parent.
- isNotDisplayed() - Static method in class com.github.loyada.jdollarx.singlebrowser.custommatchers.CustomMatchers
-
Successful if given element is either not present, or present and not displayed in the browser.
- isNotDisplayedIn(InBrowser) - Static method in class com.github.loyada.jdollarx.custommatchers.CustomMatchers
-
Successful if given element is either not present, or present and not displayed in the browser.
- isNotPresent(Path) - Method in class com.github.loyada.jdollarx.InBrowser
-
is the element present? Typically you should not use this method directly.
- isNotSelected() - Static method in class com.github.loyada.jdollarx.singlebrowser.custommatchers.CustomMatchers
-
Successful if given element is present and is not selected in the browser.
- isNthFromLastSibling(Integer) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
The element is the nth-from-last sibling.
- isNthSibling(Integer) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
The element is the nth sibling.
- isOnlyChild - Static variable in class com.github.loyada.jdollarx.ElementProperties
-
The element is the only direct child of its parent.
- isParentOf(Path...) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element is the parent of the given list of elements
- isPresent(int) - Static method in class com.github.loyada.jdollarx.custommatchers.CustomMatchers
-
Successful if the the element appears the expected number of times in the browser or W3C document.
- isPresent() - Static method in class com.github.loyada.jdollarx.custommatchers.CustomMatchers
-
Successful if element is present in the browser/document.
- IsPresent - Class in com.github.loyada.jdollarx.custommatchers
-
Internal implementation.
- IsPresent() - Constructor for class com.github.loyada.jdollarx.custommatchers.IsPresent
-
- isPresent(Path) - Method in class com.github.loyada.jdollarx.InBrowser
-
is the element present? Typically you should not use this method directly.
- isPresent() - Static method in class com.github.loyada.jdollarx.singlebrowser.custommatchers.AgGridMatchers
-
Verify that the grid, as defined, is present in the browser.
- isPresent(int) - Static method in class com.github.loyada.jdollarx.singlebrowser.custommatchers.CustomMatchers
-
Successful if the the element appears the expected number of times in the browser.
- isPresent() - Static method in class com.github.loyada.jdollarx.singlebrowser.custommatchers.CustomMatchers
-
Successful if the the element is present in the browser.
- isPresent(Path) - Static method in class com.github.loyada.jdollarx.singlebrowser.InBrowserSinglton
-
- isPresentIn(InBrowser) - Static method in class com.github.loyada.jdollarx.custommatchers.CustomMatchers
-
Successful if given element is present in the browser.
- isPresentIn(Document) - Static method in class com.github.loyada.jdollarx.custommatchers.CustomMatchers
-
Successful if given element is present in the document.
- IsPresentNTimes - Class in com.github.loyada.jdollarx.custommatchers
-
Internal implementation - not to be instantiated directly.
- IsPresentNTimes(int) - Constructor for class com.github.loyada.jdollarx.custommatchers.IsPresentNTimes
-
- IsPresentNTimes - Class in com.github.loyada.jdollarx.singlebrowser.custommatchers
-
Internal implementation - not to be instantiated directly.
- IsPresentNTimes(int) - Constructor for class com.github.loyada.jdollarx.singlebrowser.custommatchers.IsPresentNTimes
-
- ISPresentNTimesMatcherForDocument(int, RelationOperator, Document) - Constructor for class com.github.loyada.jdollarx.custommatchers.CustomMatchersUtil.ISPresentNTimesMatcherForDocument
-
- isSelected - Static variable in class com.github.loyada.jdollarx.ElementProperties
-
The element is selected
- isSelected(Path) - Method in class com.github.loyada.jdollarx.InBrowser
-
is the element present and selected? Typically you should not use this method directly.
- isSelected() - Static method in class com.github.loyada.jdollarx.singlebrowser.custommatchers.CustomMatchers
-
Successful if given element is present and selected in the browser.
- isSelected(Path) - Static method in class com.github.loyada.jdollarx.singlebrowser.InBrowserSinglton
-
Relies on Selenium WebElement::isSelected, thus non-atomic.
- isSelectedIn(InBrowser) - Static method in class com.github.loyada.jdollarx.custommatchers.CustomMatchers
-
Successful if given element is present and selected in the browser.
- isSiblingOf(Path...) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element is a sibling of all the elements defined by the given paths
- isStrict() - Method in class com.github.loyada.jdollarx.singlebrowser.AgGrid.AgGridBuilder
-
The assertions will be strict - if there are extra rows, it will fail.
- isVirtualized() - Method in class com.github.loyada.jdollarx.singlebrowser.AgGrid
-
- isWithIndex(Integer) - Static method in class com.github.loyada.jdollarx.ElementProperties
-
Element that is the nth sibling of its parent
- Obscure(InBrowser, Path) - Constructor for class com.github.loyada.jdollarx.Images.Obscure
-
- Obscure(InBrowser, List<Path>) - Constructor for class com.github.loyada.jdollarx.Images.Obscure
-
- Obscure(InBrowser, List<Path>, boolean) - Constructor for class com.github.loyada.jdollarx.Images.Obscure
-
- Obscure - Class in com.github.loyada.jdollarx.singlebrowser
-
class that allows to hide elements temporarily.
- Obscure(Path) - Constructor for class com.github.loyada.jdollarx.singlebrowser.Obscure
-
Make the first element matching the given path temporarily hidden.
- Obscure(List<Path>) - Constructor for class com.github.loyada.jdollarx.singlebrowser.Obscure
-
Make the elements matching the given paths temporarily hidden.
- Obscure(List<Path>, boolean) - Constructor for class com.github.loyada.jdollarx.singlebrowser.Obscure
-
Make the elements matching the given paths temporarily hidden.
- occurrenceNumber(Integer) - Static method in class com.github.loyada.jdollarx.BasicPath
-
used in the form : occurrenceNumber(4).of(myElement)).
- occurrencesOf(Path) - Method in class com.github.loyada.jdollarx.NPath.NPathBuilder
-
- of(Path) - Method in class com.github.loyada.jdollarx.BasicPath.GlobalOccurrenceNumber
-
return the nth global occurrence (in the entire document) of the given path.
- ofType(Path) - Method in class com.github.loyada.jdollarx.BasicPath.ChildNumber
-
an element that has n similar preceding siblings.
- on(Path) - Method in class com.github.loyada.jdollarx.Operations.KeysDown
-
Send key-down to an element in the browser
- on(BasicPath) - Method in class com.github.loyada.jdollarx.Operations.ReleaseKey
-
release a key on a specific element in the browser
- opAsEnglish(RelationOperator) - Static method in enum com.github.loyada.jdollarx.RelationOperator
-
- opAsXpathString(RelationOperator) - Static method in enum com.github.loyada.jdollarx.RelationOperator
-
- OperationFailedException(String, Throwable) - Constructor for exception com.github.loyada.jdollarx.Operations.OperationFailedException
-
- Operations - Class in com.github.loyada.jdollarx
-
Internal implementation of various browser operations
- Operations() - Constructor for class com.github.loyada.jdollarx.Operations
-
- Operations.DragAndDrop - Class in com.github.loyada.jdollarx
-
internal implementation not be instantiated directly - Action of drag-and-drop
- Operations.KeysDown - Class in com.github.loyada.jdollarx
-
internal implementation not be instantiated directly - Action of key-down
- Operations.KeysSender - Class in com.github.loyada.jdollarx
-
internal implementation not be instantiated directly - Action of sending keys to browser
- Operations.OperationFailedException - Exception in com.github.loyada.jdollarx
-
- Operations.ReleaseKey - Class in com.github.loyada.jdollarx
-
internal implementation not be instantiated directly - Action of releasing a key (key up)
- Operations.Scroll - Class in com.github.loyada.jdollarx
-
internal implementation not be instantiated directly - Action of scroll
- Operations.ScrollElement - Class in com.github.loyada.jdollarx
-
internal implementation not be instantiated directly - Action of scroll within an element
- option - Static variable in class com.github.loyada.jdollarx.BasicPath
-
- or(Path) - Method in class com.github.loyada.jdollarx.BasicPath
-
match more than a single path.
- or(ElementProperty) - Method in interface com.github.loyada.jdollarx.ElementProperty
-
returns a new property, that is a combination of the current property OR the given property parameter.
- or(Path) - Method in interface com.github.loyada.jdollarx.Path
-
match more than a single path.
- or(Path) - Method in class com.github.loyada.jdollarx.singlebrowser.SingleBrowserPath
-
- orLess() - Method in interface com.github.loyada.jdollarx.ElementPropertyWithNumericalBoundaries
-
Given the a property and and a count of it, returns a property equivalent to at most the count of that property.
- orMore() - Method in interface com.github.loyada.jdollarx.ElementPropertyWithNumericalBoundaries
-
Given the a property and and a count of it, returns a property equivalent to at least the count of that property.
- overrideTimeoutDuringOperation(int) - Method in class com.github.loyada.jdollarx.singlebrowser.AgGrid
-
Override the default timeout threshold for finding elements while scrolling the table.
- overrideTimeoutWhenDone(int) - Method in class com.github.loyada.jdollarx.singlebrowser.AgGrid
-
Override the default timeout threshold it reverts to when table operations are done.