Index

$ A B C D E F G H I L M N O S T W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

$

$(String, Object...) - Static method in class dev.comfast.cf.CfApi
 
$(String, Object...) - Method in interface dev.comfast.cf.CfLocator
get sub-locator related to current one
$(String, Object...) - Method in class dev.comfast.cf.se.SeleniumLocator
 

A

action(Runnable, String, Object...) - Method in class dev.comfast.cf.CfAbstractLocator
action(Supplier<T>, String, Object...) - Method in class dev.comfast.cf.CfAbstractLocator
Does an action, wraps it into: - Event: can set Before and After listeners to it - Waiter - action will be repeated in case of fail var someText = action(() -> grabSomeText(1), "grab some text", 1)
add(String) - Method in class dev.comfast.cf.common.selector.SelectorChain
 
addJsTools() - Method in class dev.comfast.cf.common.utils.BrowserContent
Add $ and $$ JS methods to current page for convenience
ARROW - Static variable in class dev.comfast.cf.common.selector.ChainPointerMessage
 

B

BrowserContent - Class in dev.comfast.cf.common.utils
Utility class to write browser html / css / js
BrowserContent() - Constructor for class dev.comfast.cf.common.utils.BrowserContent
 
build(int, String) - Method in class dev.comfast.cf.common.selector.ChainPointerMessage
Generate command with pointer to selector index, eg. for index = 1:

C

canEqual(Object) - Method in class dev.comfast.cf.CfAbstractLocator
 
canEqual(Object) - Method in class dev.comfast.cf.common.selector.SelectorChain
 
CfAbstractLocator - Class in dev.comfast.cf
 
CfAbstractLocator(SelectorChain) - Constructor for class dev.comfast.cf.CfAbstractLocator
 
CfApi - Class in dev.comfast.cf
 
CfFrameworkError - Exception in dev.comfast.cf.common.errors
Indicates that something went wrong in the framework.
CfFrameworkError(String, Object...) - Constructor for exception dev.comfast.cf.common.errors.CfFrameworkError
 
CfFrameworkError(String, Throwable, Object...) - Constructor for exception dev.comfast.cf.common.errors.CfFrameworkError
 
CfLocator - Interface in dev.comfast.cf
 
chain - Variable in class dev.comfast.cf.CfAbstractLocator
 
ChainPointerMessage - Class in dev.comfast.cf.common.selector
 
ChainPointerMessage(SelectorChain) - Constructor for class dev.comfast.cf.common.selector.ChainPointerMessage
 
clear() - Method in interface dev.comfast.cf.CfLocator
Clear given input/textarea/select/checkbox
clear() - Method in class dev.comfast.cf.se.SeleniumLocator
 
clearAll() - Method in class dev.comfast.cf.common.utils.BrowserContent
Clear all html content
click() - Method in interface dev.comfast.cf.CfLocator
Click on element
click() - Method in class dev.comfast.cf.se.SeleniumLocator
 
config - Static variable in class dev.comfast.cf.CfApi
 
count() - Method in interface dev.comfast.cf.CfLocator
 
count() - Method in class dev.comfast.cf.se.SeleniumLocator
 

D

dev.comfast.cf - package dev.comfast.cf
 
dev.comfast.cf.common.errors - package dev.comfast.cf.common.errors
 
dev.comfast.cf.common.selector - package dev.comfast.cf.common.selector
 
dev.comfast.cf.common.utils - package dev.comfast.cf.common.utils
 
dev.comfast.cf.se - package dev.comfast.cf.se
 
dev.comfast.cf.se.infra - package dev.comfast.cf.se.infra
 
doExecuteJs(String, Object...) - Method in class dev.comfast.cf.se.SeleniumLocator
 
dragTo(CfLocator) - Method in interface dev.comfast.cf.CfLocator
Drag current element onto other element
dragTo(CfLocator) - Method in class dev.comfast.cf.se.SeleniumLocator
 
driverEvents - Static variable in class dev.comfast.cf.CfApi
 
DriverSessionCache - Class in dev.comfast.cf.se.infra
Caches WebDriver session to avoid creating new session on each test.
DriverSessionCache(Supplier<RemoteWebDriver>) - Constructor for class dev.comfast.cf.se.infra.DriverSessionCache
 
DriverSource - Class in dev.comfast.cf.se.infra
One stop point for get WebDriver instances Manages Webdriver lifetime.

E

ElementFindFail - Exception in dev.comfast.cf.common.errors
Indicates that element was not found at given index in selector chain.
ElementFindFail(SelectorChain, int, Throwable) - Constructor for exception dev.comfast.cf.common.errors.ElementFindFail
 
equals(Object) - Method in class dev.comfast.cf.CfAbstractLocator
 
equals(Object) - Method in class dev.comfast.cf.common.selector.SelectorChain
 
execute(Command) - Method in class dev.comfast.cf.se.infra.FixedSessionExecutor
 
executeJs(String, Object...) - Static method in class dev.comfast.cf.CfApi
 
executeJs(String, Object...) - Method in interface dev.comfast.cf.CfLocator
Executes JavaScript code, where "this" is current element
executeJs(String, Object...) - Method in class dev.comfast.cf.se.SeleniumLocator
 
exists() - Method in interface dev.comfast.cf.CfLocator
 
exists() - Method in class dev.comfast.cf.se.SeleniumLocator
 

F

find() - Method in interface dev.comfast.cf.se.Finder
 
find() - Method in class dev.comfast.cf.se.FoundElement
 
find() - Method in class dev.comfast.cf.se.SeleniumLocator
 
find() - Method in class dev.comfast.cf.se.WebElementFinder
 
findAll() - Method in interface dev.comfast.cf.se.Finder
 
findAll() - Method in class dev.comfast.cf.se.WebElementFinder
 
Finder<T> - Interface in dev.comfast.cf.se
 
FixedSessionExecutor - Class in dev.comfast.cf.se.infra
Used to create custom RemoteWebDriver instance
FixedSessionExecutor(URL, SessionId) - Constructor for class dev.comfast.cf.se.infra.FixedSessionExecutor
 
focus() - Method in interface dev.comfast.cf.CfLocator
Focus on element using JS
focus() - Method in class dev.comfast.cf.se.SeleniumLocator
 
FoundElement - Class in dev.comfast.cf.se
 
FoundElement(SelectorChain, WebElement) - Constructor for class dev.comfast.cf.se.FoundElement
 

G

get() - Method in class dev.comfast.cf.se.infra.DriverSessionCache
Gets WebDriver instance.
getAttribute(String) - Method in interface dev.comfast.cf.CfLocator
 
getAttribute(String) - Method in class dev.comfast.cf.se.SeleniumLocator
 
getCssValue(String) - Method in interface dev.comfast.cf.CfLocator
 
getCssValue(String) - Method in class dev.comfast.cf.se.SeleniumLocator
 
getDriver() - Static method in class dev.comfast.cf.CfApi
 
getDriver() - Static method in class dev.comfast.cf.se.infra.DriverSource
 
getFailIndex() - Method in exception dev.comfast.cf.common.errors.ElementFindFail
 
getSelectorChain() - Method in exception dev.comfast.cf.common.errors.ElementFindFail
 
getTagName() - Method in interface dev.comfast.cf.CfLocator
 
getTagName() - Method in class dev.comfast.cf.se.SeleniumLocator
 
getText() - Method in class dev.comfast.cf.CfAbstractLocator
 
getText() - Method in interface dev.comfast.cf.CfLocator
 
getValue() - Method in class dev.comfast.cf.CfAbstractLocator
 
getValue() - Method in interface dev.comfast.cf.CfLocator
 
getWaiter() - Static method in class dev.comfast.cf.CfApi
 

H

hasClass(String) - Method in class dev.comfast.cf.CfAbstractLocator
 
hasClass(String) - Method in interface dev.comfast.cf.CfLocator
 
hashCode() - Method in class dev.comfast.cf.CfAbstractLocator
 
hashCode() - Method in class dev.comfast.cf.common.selector.SelectorChain
 
hover() - Method in interface dev.comfast.cf.CfLocator
Hover mouse on element
hover() - Method in class dev.comfast.cf.se.SeleniumLocator
 

I

innerHtml() - Method in class dev.comfast.cf.CfAbstractLocator
 
innerHtml() - Method in interface dev.comfast.cf.CfLocator
 
IS_XPATH - Static variable in class dev.comfast.cf.common.selector.SelectorParser
 
isDisplayed() - Method in interface dev.comfast.cf.CfLocator
 
isDisplayed() - Method in class dev.comfast.cf.se.SeleniumLocator
 
isXpath(String) - Static method in class dev.comfast.cf.common.selector.SelectorParser
 

L

locatorEvents - Static variable in class dev.comfast.cf.CfApi
 

M

map(Function<CfLocator, T>) - Method in interface dev.comfast.cf.CfLocator
Does mapping against each element found by locator
map(Function<CfLocator, T>) - Method in class dev.comfast.cf.se.SeleniumLocator
 

N

normalizeChildSelector(String) - Static method in class dev.comfast.cf.common.selector.SelectorParser
If XPATH passed without dot like "//some/xpath" method will add it like: ".
nth(int) - Method in interface dev.comfast.cf.CfLocator
nth element found by locator
nth(int) - Method in class dev.comfast.cf.se.SeleniumLocator
 

O

open(String) - Static method in class dev.comfast.cf.CfApi
Open given url, run browser when needed.
openResourceFile(String) - Method in class dev.comfast.cf.common.utils.BrowserContent
Copy given resource file to temp folder and open it in browser.
outerHtml() - Method in class dev.comfast.cf.CfAbstractLocator
 
outerHtml() - Method in interface dev.comfast.cf.CfLocator
 

S

SelectorChain - Class in dev.comfast.cf.common.selector
Represents chain of CSS / XPath selectors
SelectorChain(String) - Constructor for class dev.comfast.cf.common.selector.SelectorChain
 
SelectorParser - Class in dev.comfast.cf.common.selector
 
SeleniumLocator - Class in dev.comfast.cf.se
 
SeleniumLocator(SelectorChain) - Constructor for class dev.comfast.cf.se.SeleniumLocator
 
SeleniumLocator(String, Object...) - Constructor for class dev.comfast.cf.se.SeleniumLocator
 
setBody(String) - Method in class dev.comfast.cf.common.utils.BrowserContent
Set body tag content
setChecked(boolean) - Method in interface dev.comfast.cf.CfLocator
Check/uncheck checkbox
setChecked(boolean) - Method in class dev.comfast.cf.se.SeleniumLocator
 
setScriptTag(String) - Method in class dev.comfast.cf.common.utils.BrowserContent
Adds script tag to head section
setStyle(String) - Method in class dev.comfast.cf.common.utils.BrowserContent
Set style tag to head section
setValue(String) - Method in interface dev.comfast.cf.CfLocator
Generic set value of element.
setValue(String) - Method in class dev.comfast.cf.se.SeleniumLocator
 
split() - Method in class dev.comfast.cf.common.selector.SelectorChain
 

T

tap() - Method in interface dev.comfast.cf.CfLocator
Tap gesture on element
tap() - Method in class dev.comfast.cf.se.SeleniumLocator
 
toString() - Method in class dev.comfast.cf.CfAbstractLocator
 
toString() - Method in exception dev.comfast.cf.common.errors.ElementFindFail
 
toString() - Method in class dev.comfast.cf.common.selector.SelectorChain
 
tryFind() - Method in class dev.comfast.cf.se.SeleniumLocator
 
type(String) - Method in interface dev.comfast.cf.CfLocator
Type keys into element
type(String) - Method in class dev.comfast.cf.se.SeleniumLocator
 

W

WebElementFinder - Class in dev.comfast.cf.se
 
WebElementFinder(SelectorChain) - Constructor for class dev.comfast.cf.se.WebElementFinder
 
$ A B C D E F G H I L M N O S T W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form