Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractActionComposer - Class in org.kquiet.browser
-
AbstractActionComposer
implements most methods ofActionComposer
to lay ground works for possible subclasses. - AbstractActionComposer() - Constructor for class org.kquiet.browser.AbstractActionComposer
-
Create an
AbstractActionComposer
. - Accept - Enum constant in enum class org.kquiet.browser.action.ReplyAlert.Decision
-
Accept the alert box.
- ActionComposer - Interface in org.kquiet.browser
-
ActionComposer
is responsible to maintain a sequence of actions, arrange them to be executed and track their execution result. - ActionComposerBuilder - Class in org.kquiet.browser
-
ActionComposerBuilder
is resposible to build aActionComposer
in a fluent way. - ActionComposerBuilder() - Constructor for class org.kquiet.browser.ActionComposerBuilder
-
Create a new
ActionComposerBuilder
. - ActionComposerBuilder.ActionSequenceBuilder - Class in org.kquiet.browser
-
A builder to build the
actions
into a sequence. - ActionComposerBuilder.ActionSequenceBuilder.ClickBuilder - Class in org.kquiet.browser
-
A builder to build
Click
in a fluent way. - ActionComposerBuilder.ActionSequenceBuilder.CloseWindowBuilder - Class in org.kquiet.browser
-
A builder to build
CloseWindow
in a fluent way. - ActionComposerBuilder.ActionSequenceBuilder.CustomBuilder - Class in org.kquiet.browser
-
A builder to build
Custom
in a fluent way. - ActionComposerBuilder.ActionSequenceBuilder.ExtractBuilder - Class in org.kquiet.browser
-
A builder to build
Extract
in a fluent way. - ActionComposerBuilder.ActionSequenceBuilder.GetUrlBuilder - Class in org.kquiet.browser
-
A builder to build
GetUrl
in a fluent way. - ActionComposerBuilder.ActionSequenceBuilder.IfThenElseBuilder - Class in org.kquiet.browser
-
A builder to build
IfThenElse
in a fluent way. - ActionComposerBuilder.ActionSequenceBuilder.JustWaitBuilder - Class in org.kquiet.browser
-
A builder to build
JustWait
in a fluent way. - ActionComposerBuilder.ActionSequenceBuilder.MouseOverBuilder - Class in org.kquiet.browser
-
A builder to build
MouseOver
in a fluent way. - ActionComposerBuilder.ActionSequenceBuilder.OpenWindowBuilder - Class in org.kquiet.browser
-
A builder to build
OpenWindow
in a fluent way. - ActionComposerBuilder.ActionSequenceBuilder.PostFormBuilder - Class in org.kquiet.browser
-
A builder to build
PostForm
in a fluent way. - ActionComposerBuilder.ActionSequenceBuilder.ReplyAlertBuilder - Class in org.kquiet.browser
-
A builder to build
ReplyAlert
in a fluent way. - ActionComposerBuilder.ActionSequenceBuilder.ScrollToViewBuilder - Class in org.kquiet.browser
-
A builder to build
ScrollToView
in a fluent way. - ActionComposerBuilder.ActionSequenceBuilder.SelectBuilder - Class in org.kquiet.browser
-
A builder to build
Select
in a fluent way. - ActionComposerBuilder.ActionSequenceBuilder.SendKeyBuilder - Class in org.kquiet.browser
-
A builder to build
SendKey
in a fluent way. - ActionComposerBuilder.ActionSequenceBuilder.UploadBuilder - Class in org.kquiet.browser
-
A builder to build
Upload
in a fluent way. - ActionComposerBuilder.ActionSequenceBuilder.WaitUntilBuilder<V> - Class in org.kquiet.browser
-
A builder to build
WaitUntil
in a fluent way. - ActionException - Exception in org.kquiet.browser.action.exception
-
Thrown to indicate that a browser action encounters a non-recoverable problem during execution.
- ActionException(String) - Constructor for exception org.kquiet.browser.action.exception.ActionException
-
Constructs an
ActionException
with the specified detail message. - ActionException(String, Throwable) - Constructor for exception org.kquiet.browser.action.exception.ActionException
-
Constructs a new exception with the specified detail message and cause.
- ActionException(Throwable) - Constructor for exception org.kquiet.browser.action.exception.ActionException
-
Constructs an
ActionException
with the specified cause. - actionPerformed(Function<ActionComposer, Consumer<Composable>>) - Method in class org.kquiet.browser.AbstractActionComposer
- actionPerformed(Function<ActionComposer, Consumer<Composable>>) - Method in interface org.kquiet.browser.ActionComposer
-
Set the function to be executed after any managed action is performed.
- actionPerformed(Function<ActionComposer, Consumer<Composable>>) - Method in class org.kquiet.browser.ActionComposerBuilder
-
Set the function to be executed after any managed action of building
ActionComposer
is performed. - actionPerforming(Function<ActionComposer, Consumer<Composable>>) - Method in class org.kquiet.browser.AbstractActionComposer
- actionPerforming(Function<ActionComposer, Consumer<Composable>>) - Method in interface org.kquiet.browser.ActionComposer
-
Set the function to be executed when any managed action is performed.
- actionPerforming(Function<ActionComposer, Consumer<Composable>>) - Method in class org.kquiet.browser.ActionComposerBuilder
-
Set the function to be executed when any managed action of building
ActionComposer
is performed. - ActionRunner - Interface in org.kquiet.browser
-
ActionRunner
is resposible to run a browser through Selenium and execute actions against it. - ActionSequenceBuilder(ActionComposerBuilder) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder
with anActionComposerBuilder
as its parent builder. - ActionSequenceBuilder(ActionComposerBuilder.ActionSequenceBuilder.IfThenElseBuilder) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder
with anActionComposerBuilder.ActionSequenceBuilder.IfThenElseBuilder
as its parent builder. - ActionState - Enum Class in org.kquiet.browser.action
-
The state of a browser action.
- add(Composable) - Method in interface org.kquiet.browser.DynamicActionSequence
-
Add action to the tail of the action sequence.
- addToHead(Composable) - Method in class org.kquiet.browser.AbstractActionComposer
- addToHead(Composable) - Method in class org.kquiet.browser.action.IfThenElse
-
Add action to the head of positive or negative list.
- addToHead(Composable) - Method in class org.kquiet.browser.BasicActionComposer
- addToHead(Composable) - Method in interface org.kquiet.browser.DynamicActionSequence
-
Add action to the head of the action sequence.
- addToHeadByContext(Composable) - Method in class org.kquiet.browser.AbstractActionComposer
- addToHeadByContext(Composable) - Method in interface org.kquiet.browser.ActionComposer
-
Add action to the head of the action sequence of execution context.
- addToPosition(Composable, int) - Method in class org.kquiet.browser.AbstractActionComposer
- addToPosition(Composable, int) - Method in class org.kquiet.browser.action.IfThenElse
-
Add action to the the specified position of positive or negative list.
- addToPosition(Composable, int) - Method in class org.kquiet.browser.BasicActionComposer
- addToPosition(Composable, int) - Method in interface org.kquiet.browser.DynamicActionSequence
-
Add action to the specified position of the action sequence.
- addToPositionByContext(Composable, int) - Method in class org.kquiet.browser.AbstractActionComposer
- addToPositionByContext(Composable, int) - Method in interface org.kquiet.browser.ActionComposer
-
Add action to specified position of the action sequence of execution context.
- addToTail(Composable) - Method in class org.kquiet.browser.AbstractActionComposer
- addToTail(Composable) - Method in class org.kquiet.browser.action.IfThenElse
-
Add action to the tail of positive or negative list.
- addToTail(Composable) - Method in class org.kquiet.browser.BasicActionComposer
- addToTail(Composable) - Method in interface org.kquiet.browser.DynamicActionSequence
-
Add action to the tail of the action sequence.
- addToTailByContext(Composable) - Method in class org.kquiet.browser.AbstractActionComposer
- addToTailByContext(Composable) - Method in interface org.kquiet.browser.ActionComposer
-
Add action to the tail of the action sequence of execution context.
- afterExecute(Runnable, Throwable) - Method in class org.kquiet.concurrent.PausableScheduledThreadPoolExecutor
- afterExecute(Runnable, Throwable) - Method in class org.kquiet.concurrent.PausableThreadPoolExecutor
B
- BasicActionComposer - Class in org.kquiet.browser
-
BasicActionComposer
provides basic implementation ofActionComposer
. - BasicActionComposer() - Constructor for class org.kquiet.browser.BasicActionComposer
-
Create an
BasicActionComposer
. - BasicActionRunner - Class in org.kquiet.browser
-
BasicActionRunner
maintains two prioritized thread pool internally to executeActionComposer
and browser actions separatedly. - BasicActionRunner() - Constructor for class org.kquiet.browser.BasicActionRunner
-
Create an
BasicActionRunner
withPageLoadStrategy.NONE
as page load strategy,BrowserType.CHROME
as browser type, and at most oneActionComposer
is allowed to be executed at a time. - BasicActionRunner(int) - Constructor for class org.kquiet.browser.BasicActionRunner
-
Create an
BasicActionRunner
withPageLoadStrategy.NONE
as page load strategy andBrowserType.CHROME
as browser type. - BasicActionRunner(PageLoadStrategy, BrowserType) - Constructor for class org.kquiet.browser.BasicActionRunner
-
Create an
BasicActionRunner
with specified page load strategy, browser type, name, and at most oneActionComposer
is allowed to be executed at a time. - BasicActionRunner(PageLoadStrategy, BrowserType, int) - Constructor for class org.kquiet.browser.BasicActionRunner
-
Create an
BasicActionRunner
with specified page load strategy, browser type, name, and max number of concurrent composer. - beforeExecute(Thread, Runnable) - Method in class org.kquiet.concurrent.PausableScheduledThreadPoolExecutor
- beforeExecute(Thread, Runnable) - Method in class org.kquiet.concurrent.PausableThreadPoolExecutor
- BrowserType - Enum Class in org.kquiet.browser
-
Supported browser type.
- build(Class<T>) - Method in class org.kquiet.browser.ActionComposerBuilder
-
Finish building the
ActionComposer
. - build(Class<T>, String) - Method in class org.kquiet.browser.ActionComposerBuilder
-
Finish building the
ActionComposer
with its name. - build(T, String) - Method in class org.kquiet.browser.ActionComposerBuilder
-
Finish building the
ActionComposer
with its name. - buildBasic() - Method in class org.kquiet.browser.ActionComposerBuilder
-
Finish building the
BasicActionComposer
. - buildBasic(String) - Method in class org.kquiet.browser.ActionComposerBuilder
-
Finish building the
BasicActionComposer
with its name.
C
- call() - Method in class org.kquiet.concurrent.PriorityCallable
- callBrowser(Runnable) - Method in class org.kquiet.browser.AbstractActionComposer
- callBrowser(Runnable) - Method in interface org.kquiet.browser.ActionComposer
- CHROME - Enum constant in enum class org.kquiet.browser.BrowserType
-
Browser chrome / chromium.
- click(By) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Add a
Click
to the sequence of actions. - Click - Class in org.kquiet.browser.action
-
Click
is a subclass ofMultiPhaseAction
which clicks an element. - Click(By) - Constructor for class org.kquiet.browser.action.Click
-
Create a new action representing a click.
- Click(By, List<By>) - Constructor for class org.kquiet.browser.action.Click
-
Create a new action representing a click.
- ClickBuilder(ActionComposerBuilder.ActionSequenceBuilder, By) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.ClickBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder.ClickBuilder
with specifiedActionComposerBuilder.ActionSequenceBuilder
as parent builder. - clickToSelect(WebElement, Select.SelectBy, Object...) - Static method in class org.kquiet.browser.action.Select
-
Clicks an element and then performs selecting on it.
- clickToSendKeys(WebElement, boolean, CharSequence...) - Static method in class org.kquiet.browser.action.SendKey
-
Clicks an element and then types into it.
- close() - Method in interface org.kquiet.browser.ActionRunner
- close() - Method in class org.kquiet.browser.BasicActionRunner
- closeWindow(boolean) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Add a
CloseWindow
to the sequence of actions. - CloseWindow - Class in org.kquiet.browser.action
-
CloseWindow
is a subclass ofSinglePhaseAction
which closes window(s). - CloseWindow(boolean) - Constructor for class org.kquiet.browser.action.CloseWindow
-
Create a new action representing closing window.
- CloseWindowBuilder(ActionComposerBuilder.ActionSequenceBuilder, boolean) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.CloseWindowBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder.CloseWindowBuilder
with specifiedActionComposerBuilder.ActionSequenceBuilder
as parent builder. - COMPLETE - Enum constant in enum class org.kquiet.browser.action.ActionState
-
Indicate the browser action has finished with no error.
- COMPLETE_WITH_ERROR - Enum constant in enum class org.kquiet.browser.action.ActionState
-
Indicate the browser action has finished with error(s).
- Composable - Interface in org.kquiet.browser.action
-
An interface which should be implemented by any action which delegates its execution to
ActionComposer
. - continueWith(BasicActionComposer) - Method in class org.kquiet.browser.BasicActionComposer
-
Delegate the execution of given child
BasicActionComposer
to associatedActionRunner
after thisBasicActionComposer
is done. - CREATED - Enum constant in enum class org.kquiet.browser.action.ActionState
-
Indicate the browser action is created.
- custom(Consumer<ActionComposer>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Add a single-phased
Custom
to the sequence of actions. - Custom - Class in org.kquiet.browser.action
-
Custom
is a subclass ofMultiPhaseAction
which performs custom action by phases to avoid blocking the execution of other browser actions. - Custom(Consumer<ActionComposer>) - Constructor for class org.kquiet.browser.action.Custom
-
Create a
Custom
acting like aSinglePhaseAction
. - Custom(Consumer<ActionComposer>, List<By>) - Constructor for class org.kquiet.browser.action.Custom
-
Create a
Custom
acting like aSinglePhaseAction
. - Custom(Function<MultiPhased, Consumer<ActionComposer>>) - Constructor for class org.kquiet.browser.action.Custom
-
Create a
Custom
acting like aMultiPhaseAction
. - Custom(Function<MultiPhased, Consumer<ActionComposer>>, List<By>) - Constructor for class org.kquiet.browser.action.Custom
-
Create a
Custom
acting like aMultiPhaseAction
. - CustomBuilder(ActionComposerBuilder.ActionSequenceBuilder, Consumer<ActionComposer>) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.CustomBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder.CustomBuilder
with specifiedActionComposerBuilder.ActionSequenceBuilder
as parent builder. - CustomBuilder(ActionComposerBuilder.ActionSequenceBuilder, Function<MultiPhased, Consumer<ActionComposer>>) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.CustomBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder.CustomBuilder
with specifiedActionComposerBuilder.ActionSequenceBuilder
as parent builder. - customMultiPhase(Function<MultiPhased, Consumer<ActionComposer>>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Add a multiple-phased
Custom
to the sequence of actions.
D
- Dismiss - Enum constant in enum class org.kquiet.browser.action.ReplyAlert.Decision
-
Dismiss the alert box.
- done() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.ClickBuilder
-
Finish building
Click
and add it to parent builder. - done() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.CloseWindowBuilder
-
Finish building
CloseWindow
and add it to parent builder. - done() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.CustomBuilder
-
Finish building
Custom
and add it to parent builder. - done() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.ExtractBuilder
-
Finish building
Extract
and add it to parent builder. - done() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.GetUrlBuilder
-
Finish building
GetUrl
and add it to parent builder. - done() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.JustWaitBuilder
-
Finish building
JustWait
and add it to parent builder. - done() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.MouseOverBuilder
-
Finish building
MouseOver
and add it to parent builder. - done() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.OpenWindowBuilder
-
Finish building
OpenWindow
and add it to parent builder. - done() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.PostFormBuilder
-
Finish building
PostForm
and add it to parent builder. - done() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.ReplyAlertBuilder
-
Finish building
ReplyAlert
and add it to parent builder. - done() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.ScrollToViewBuilder
-
Finish building
ScrollToView
and add it to parent builder. - done() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.SelectBuilder
-
Finish building
Select
and add it to parent builder. - done() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.SendKeyBuilder
-
Finish building
SendKey
and add it to parent builder. - done() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.UploadBuilder
-
Finish building
Upload
and add it to parent builder. - done() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.WaitUntilBuilder
-
Finish building
WaitUntil
and add it to parent builder. - DynamicActionSequence - Interface in org.kquiet.browser
-
An
DynamicActionSequence
is a sequence of actions which supports add operations.
E
- endActionSequence() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Finish building the sequence of actions so far and return control to parent builder (
ActionComposerBuilder.ActionSequenceBuilder.IfThenElseBuilder
). - endIf() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.IfThenElseBuilder
-
Finish building
IfThenElse
and add it to parent builder. - executeAction(Runnable, int) - Method in interface org.kquiet.browser.ActionRunner
-
Execute browser action with specified priority.
- executeAction(Runnable, int) - Method in class org.kquiet.browser.BasicActionRunner
- executeComposer(ActionComposer) - Method in interface org.kquiet.browser.ActionRunner
-
Execute given
ActionComposer
. - executeComposer(ActionComposer) - Method in class org.kquiet.browser.BasicActionRunner
- executionContextStack - Variable in class org.kquiet.browser.AbstractActionComposer
-
The execution context stack of this
AbstractActionComposer
, theDynamicActionSequence
must be pushed into this stack before any action in it gets executed to reflect execution context. - Extract - Class in org.kquiet.browser.action
-
Extract
is a subclass ofMultiPhaseAction
which extract information from element by phases to avoid blocking the execution of other browser actions. - Extract(By, String) - Constructor for class org.kquiet.browser.action.Extract
-
Create an action to extract information from element.
- Extract(By, String, Map<String, String>) - Constructor for class org.kquiet.browser.action.Extract
-
Create an action to extract information from element.
- Extract(By, List<By>, String) - Constructor for class org.kquiet.browser.action.Extract
-
Create an action to extract information from element.
- Extract(By, List<By>, String, Map<String, String>) - Constructor for class org.kquiet.browser.action.Extract
-
Create an action to extract information from element.
- Extract(By, List<By>, Map<String, String>) - Constructor for class org.kquiet.browser.action.Extract
-
Create an action to extract information from element.
- Extract(By, Map<String, String>) - Constructor for class org.kquiet.browser.action.Extract
-
Create an action to extract information from element.
- ExtractBuilder(ActionComposerBuilder.ActionSequenceBuilder, By) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.ExtractBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder.ExtractBuilder
with specifiedActionComposerBuilder.ActionSequenceBuilder
as parent builder.
F
- FIREFOX - Enum constant in enum class org.kquiet.browser.BrowserType
-
Browser firefox.
- fromString(String) - Static method in enum class org.kquiet.browser.BrowserType
-
Get
BrowserType
represented by parsing its text(case insensitive).
G
- getActionPerformedFunction() - Method in class org.kquiet.browser.AbstractActionComposer
-
Get the function to be executed after any managed action is performed.
- getActionPerformingFunction() - Method in class org.kquiet.browser.AbstractActionComposer
-
Get the function to be executed when any managed action is performed.
- getActionRunner() - Method in class org.kquiet.browser.AbstractActionComposer
-
Get associated
ActionRunner
. - getActionState() - Method in class org.kquiet.browser.action.MultiPhaseAction
-
Get the state of this
MultiPhaseAction
. - getAllActionInSequence() - Method in class org.kquiet.browser.AbstractActionComposer
-
Get all actions in the action sequence.
- getAllActionInSequence() - Method in class org.kquiet.browser.BasicActionComposer
- getChild() - Method in class org.kquiet.browser.BasicActionComposer
-
Get child
BasicActionComposer
. - getComposer() - Method in interface org.kquiet.browser.action.Composable
-
Get containing composer.
- getComposer() - Method in class org.kquiet.browser.action.MultiPhaseAction
- getCostTime() - Method in class org.kquiet.browser.AbstractActionComposer
-
Get total execution time of this
AbstractActionComposer
. - getCostTime() - Method in class org.kquiet.browser.action.MultiPhaseAction
-
Get the total cost time of execution.
- getDoneFunction() - Method in class org.kquiet.browser.AbstractActionComposer
-
Get the function to be executed when finished.
- getDuration() - Method in class org.kquiet.utility.Stopwatch
-
Get elapsed time.
- getElapsedMilliSecond() - Method in class org.kquiet.utility.Stopwatch
-
Get elapsed time in milliseconds.
- getElapsedNanoSecond() - Method in class org.kquiet.utility.Stopwatch
-
Get elapsed time in nanoseconds.
- getErrors() - Method in class org.kquiet.browser.AbstractActionComposer
-
Get the error list from executed actions.
- getErrors() - Method in interface org.kquiet.browser.action.Composable
-
Get the errors occurred during execution.
- getErrors() - Method in class org.kquiet.browser.action.IfThenElse
- getErrors() - Method in class org.kquiet.browser.action.MultiPhaseAction
- getErrors() - Method in interface org.kquiet.browser.ActionComposer
-
Get the error list from executed actions.
- getFailFunction() - Method in class org.kquiet.browser.AbstractActionComposer
-
Get the function executed when failed.
- getFailPage() - Method in interface org.kquiet.browser.ActionComposer
-
Get the content of the last page when this
ActionComposer
is marked as failed andthe flag to keep fail information
is enabled. - getFailPage() - Method in class org.kquiet.browser.BasicActionComposer
- getFailUrl() - Method in interface org.kquiet.browser.ActionComposer
-
Get the url of the last page when this
ActionComposer
is marked as failed andthe flag to keep fail information
is enabled. - getFailUrl() - Method in class org.kquiet.browser.BasicActionComposer
- getFocusWindow() - Method in class org.kquiet.browser.AbstractActionComposer
- getFocusWindow() - Method in interface org.kquiet.browser.ActionComposer
-
Get the window identity of focus window.
- getName() - Method in class org.kquiet.browser.AbstractActionComposer
- getName() - Method in interface org.kquiet.browser.ActionComposer
-
Get the name of this
ActionComposer
. - getName() - Method in interface org.kquiet.browser.ActionRunner
-
Get the name of this
ActionRunner
. - getName() - Method in class org.kquiet.browser.BasicActionRunner
- getParent() - Method in class org.kquiet.browser.BasicActionComposer
-
Get parent
BasicActionComposer
. - getPriority() - Method in class org.kquiet.browser.AbstractActionComposer
- getPriority() - Method in interface org.kquiet.concurrent.Prioritized
-
Get priority.
- getPriority() - Method in class org.kquiet.concurrent.PriorityCallable
- getPriority() - Method in class org.kquiet.concurrent.PriorityRunnable
- getRegisteredWindow(String) - Method in class org.kquiet.browser.AbstractActionComposer
- getRegisteredWindow(String) - Method in interface org.kquiet.browser.ActionComposer
-
Get registered window by given name.
- getRegisteredWindows() - Method in class org.kquiet.browser.AbstractActionComposer
- getRegisteredWindows() - Method in interface org.kquiet.browser.ActionComposer
-
Get all registered windows.
- getRootWindow() - Method in class org.kquiet.browser.AbstractActionComposer
- getRootWindow() - Method in interface org.kquiet.browser.ActionComposer
-
Get the window identity of root window.
- getRootWindowIdentity() - Method in interface org.kquiet.browser.ActionRunner
-
Get the identity of root window(the initial window as the browser started).
- getRootWindowIdentity() - Method in class org.kquiet.browser.BasicActionRunner
- getSuccessFunction() - Method in class org.kquiet.browser.AbstractActionComposer
-
Get the function executed when finished without fail.
- getUrl(String) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Add a
GetUrl
to the sequence of actions. - GetUrl - Class in org.kquiet.browser.action
-
GetUrl
is a subclass ofSinglePhaseAction
which loads a web page. - GetUrl(String) - Constructor for class org.kquiet.browser.action.GetUrl
-
Create an action to get current page's url.
- GetUrlBuilder(ActionComposerBuilder.ActionSequenceBuilder, String) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.GetUrlBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder.GetUrlBuilder
with specifiedActionComposerBuilder.ActionSequenceBuilder
as parent builder. - getVariable(String) - Method in class org.kquiet.browser.AbstractActionComposer
- getVariable(String) - Method in interface org.kquiet.browser.ActionComposer
-
Get the value of specified variable.
- getWebDriver() - Method in class org.kquiet.browser.AbstractActionComposer
- getWebDriver() - Method in interface org.kquiet.browser.ActionComposer
-
Get
WebDriver
from associatedActionRunner
. - getWebDriver() - Method in interface org.kquiet.browser.ActionRunner
-
Get associated
WebDriver
. - getWebDriver() - Method in class org.kquiet.browser.BasicActionRunner
H
- hasChild() - Method in class org.kquiet.browser.BasicActionComposer
-
Check whether this
BasicActionComposer
has childBasicActionComposer
. - hasNextPhase() - Method in class org.kquiet.browser.action.MultiPhaseAction
- hasNextPhase() - Method in interface org.kquiet.browser.action.MultiPhased
-
Check if has next phase to execute.
- hasParent() - Method in class org.kquiet.browser.BasicActionComposer
-
Check whether this
BasicActionComposer
has parentBasicActionComposer
.
I
- IfThenElse - Class in org.kquiet.browser.action
-
IfThenElse
is a subclass ofSinglePhaseAction
which performs actions according to the evaluation result of specified function. - IfThenElse(Function<ActionComposer, ?>, List<Composable>, List<Composable>) - Constructor for class org.kquiet.browser.action.IfThenElse
-
Create an action representing if-then-else condition.
- IfThenElseBuilder(ActionComposerBuilder.ActionSequenceBuilder, Function<ActionComposer, ?>) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.IfThenElseBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder.IfThenElseBuilder
with specifiedActionComposerBuilder.ActionSequenceBuilder
as parent builder. - Index - Enum constant in enum class org.kquiet.browser.action.Select.SelectBy
-
Select/deselect the option by index.
- isBrowserAlive() - Method in interface org.kquiet.browser.ActionRunner
-
Check whether browser is still running.
- isBrowserAlive() - Method in class org.kquiet.browser.BasicActionRunner
-
This method checks the existence of root window and use the result as the result of browser's aliveness.
- isDone() - Method in interface org.kquiet.browser.action.Composable
-
Check if this action is done.
- isDone() - Method in class org.kquiet.browser.action.MultiPhaseAction
-
When the state of action is one of the following, then it's called done.
- isDone() - Method in interface org.kquiet.browser.ActionComposer
-
Check if this
ActionComposer
is done. - isFail() - Method in interface org.kquiet.browser.action.Composable
-
Check if this action is failed.
- isFail() - Method in class org.kquiet.browser.action.IfThenElse
- isFail() - Method in class org.kquiet.browser.action.MultiPhaseAction
-
When the action is marked as failed(
ActionState.COMPLETE_WITH_ERROR
), then it's called fail. - isFail() - Method in interface org.kquiet.browser.ActionComposer
-
Check if this
ActionComposer
has been marked as failed. - isFail() - Method in class org.kquiet.browser.BasicActionComposer
-
Check if this
BasicActionComposer
has been marked as failed. - isPaused() - Method in interface org.kquiet.browser.ActionRunner
-
Check whether this
ActionRunner
is paused or not. - isPaused() - Method in class org.kquiet.browser.BasicActionRunner
- isPaused() - Method in class org.kquiet.concurrent.PausableScheduledThreadPoolExecutor
-
Check if the execution of this
PausableScheduledThreadPoolExecutor
is paused. - isPaused() - Method in class org.kquiet.concurrent.PausableThreadPoolExecutor
-
Check if this
PausableThreadPoolExecutor
is paused. - isSuccessfulDone() - Method in interface org.kquiet.browser.ActionComposer
-
Check if this
ActionComposer
is done without being marked as failed. - isSuccessfulDone() - Method in class org.kquiet.browser.BasicActionComposer
-
Check if this
BasicActionComposer
is done without being marked as failed.
J
- justWait(int) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Add a
JustWait
to the sequence of actions. - JustWait - Class in org.kquiet.browser.action
-
JustWait
is a subclass ofMultiPhaseAction
which just waits by phases to avoid blocking the execution of other browser actions. - JustWait(int) - Constructor for class org.kquiet.browser.action.JustWait
-
With phase timeout defaulted to 10.
- JustWait(int, int) - Constructor for class org.kquiet.browser.action.JustWait
-
Create an action representing just waiting.
- JustWaitBuilder(ActionComposerBuilder.ActionSequenceBuilder, int) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.JustWaitBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder.JustWaitBuilder
with specifiedActionComposerBuilder.ActionSequenceBuilder
as parent builder.
K
- keepFailInfo(boolean) - Method in interface org.kquiet.browser.ActionComposer
-
Enable/Disable the function of keeping fail information when this
ActionComposer
is marked as failed. - keepFailInfo(boolean) - Method in class org.kquiet.browser.BasicActionComposer
M
- mouseOver(By) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Add a
MouseOver
to the sequence of actions. - MouseOver - Class in org.kquiet.browser.action
-
MouseOver
is a subclass ofMultiPhaseAction
which moves the mouse to the middle of an element. - MouseOver(By) - Constructor for class org.kquiet.browser.action.MouseOver
-
Create an action representing moving mouse over some element.
- MouseOver(By, List<By>) - Constructor for class org.kquiet.browser.action.MouseOver
-
Create an action representing moving mouse over some element.
- MouseOverBuilder(ActionComposerBuilder.ActionSequenceBuilder, By) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.MouseOverBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder.MouseOverBuilder
with specifiedActionComposerBuilder.ActionSequenceBuilder
as parent builder. - MultiPhaseAction - Class in org.kquiet.browser.action
-
MultiPhaseAction
models a browser action with multiple phases which is executed throughActionComposer
orActionRunner
. - MultiPhaseAction() - Constructor for class org.kquiet.browser.action.MultiPhaseAction
- MultiPhased - Interface in org.kquiet.browser.action
-
An interface which should be implemented by any browser action whose execution spans multiple phases.
N
- newTaskFor(Runnable, T) - Method in class org.kquiet.concurrent.PausablePriorityThreadPoolExecutor
- newTaskFor(Callable<T>) - Method in class org.kquiet.concurrent.PausablePriorityThreadPoolExecutor
- NonBrowserable - Annotation Interface in org.kquiet.browser.action
-
A marker annotation that indicates the annotated class is non-browserable.
- None - Enum constant in enum class org.kquiet.browser.action.ReplyAlert.Decision
-
Neither accept nor dismiss the alert box.
- noNextPhase() - Method in class org.kquiet.browser.action.MultiPhaseAction
- noNextPhase() - Method in interface org.kquiet.browser.action.MultiPhased
-
Signals that no more phases to execute.
O
- onDone(Consumer<ActionComposer>) - Method in class org.kquiet.browser.AbstractActionComposer
- onDone(Consumer<ActionComposer>) - Method in interface org.kquiet.browser.ActionComposer
-
Set the function to be executed when this
ActionComposer
is done. - onDone(Consumer<ActionComposer>) - Method in class org.kquiet.browser.ActionComposerBuilder
-
Set the function to be executed when the execution of building
ActionComposer
finishes. - onDone(Consumer<ActionComposer>) - Method in class org.kquiet.browser.BasicActionComposer
- onFail(Consumer<ActionComposer>) - Method in class org.kquiet.browser.AbstractActionComposer
- onFail(Consumer<ActionComposer>) - Method in interface org.kquiet.browser.ActionComposer
-
Set the function to be executed when this
ActionComposer
is marked as failed. - onFail(Consumer<ActionComposer>) - Method in class org.kquiet.browser.ActionComposerBuilder
-
Set the function to be executed when the execution of building
ActionComposer
fails. - onFail(Consumer<ActionComposer>) - Method in class org.kquiet.browser.BasicActionComposer
- onSuccess(Consumer<ActionComposer>) - Method in class org.kquiet.browser.AbstractActionComposer
- onSuccess(Consumer<ActionComposer>) - Method in interface org.kquiet.browser.ActionComposer
-
Set the function to be executed when this
ActionComposer
is finished without being marked as failed. - onSuccess(Consumer<ActionComposer>) - Method in class org.kquiet.browser.ActionComposerBuilder
-
Set the function to be executed when the execution of building
ActionComposer
succeeds. - onSuccess(Consumer<ActionComposer>) - Method in class org.kquiet.browser.BasicActionComposer
- openWindow() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Add a
OpenWindow
to the sequence of actions. - OpenWindow - Class in org.kquiet.browser.action
-
OpenWindow
is a subclass ofSinglePhaseAction
which openes a window. - OpenWindow(boolean) - Constructor for class org.kquiet.browser.action.OpenWindow
-
Open window with an option to set it as focus window.
- OpenWindow(boolean, String) - Constructor for class org.kquiet.browser.action.OpenWindow
-
Create an action representing opening a window.
- OpenWindow(String) - Constructor for class org.kquiet.browser.action.OpenWindow
-
Open window and register it.
- OpenWindowBuilder(ActionComposerBuilder.ActionSequenceBuilder) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.OpenWindowBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder.OpenWindowBuilder
with specifiedActionComposerBuilder.ActionSequenceBuilder
as parent builder. - org.kquiet.browser - package org.kquiet.browser
- org.kquiet.browser.action - package org.kquiet.browser.action
- org.kquiet.browser.action.exception - package org.kquiet.browser.action.exception
- org.kquiet.concurrent - package org.kquiet.concurrent
- org.kquiet.utility - package org.kquiet.utility
- otherwise() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.IfThenElseBuilder
-
Start building the action list for the negative result of predicate.
P
- PausablePriorityThreadPoolExecutor - Class in org.kquiet.concurrent
-
PausableThreadPoolExecutor
which execute tasks by their priority. - PausablePriorityThreadPoolExecutor() - Constructor for class org.kquiet.concurrent.PausablePriorityThreadPoolExecutor
-
Create a
PausablePriorityThreadPoolExecutor
with core/maximum pool size set to one. - PausablePriorityThreadPoolExecutor(String, int, int) - Constructor for class org.kquiet.concurrent.PausablePriorityThreadPoolExecutor
-
Create a
PausablePriorityThreadPoolExecutor
with specified parameters and max pool size to five. - PausablePriorityThreadPoolExecutor(String, int, int, int) - Constructor for class org.kquiet.concurrent.PausablePriorityThreadPoolExecutor
-
Create a
PausablePriorityThreadPoolExecutor
with specified parameters. - PausablePriorityThreadPoolExecutor(String, int, int, int, long, TimeUnit, Consumer<Runnable>) - Constructor for class org.kquiet.concurrent.PausablePriorityThreadPoolExecutor
-
Create a
PausablePriorityThreadPoolExecutor
with specified parameters. - PausablePriorityThreadPoolExecutor(String, int, int, int, Consumer<Runnable>) - Constructor for class org.kquiet.concurrent.PausablePriorityThreadPoolExecutor
-
Create a
PausablePriorityThreadPoolExecutor
with specified parameters. - PausablePriorityThreadPoolExecutor(String, int, int, Consumer<Runnable>) - Constructor for class org.kquiet.concurrent.PausablePriorityThreadPoolExecutor
-
Create a
PausablePriorityThreadPoolExecutor
with specified parameters. - PausableScheduledThreadPoolExecutor - Class in org.kquiet.concurrent
-
Pausable
ScheduledThreadPoolExecutor
. - PausableScheduledThreadPoolExecutor() - Constructor for class org.kquiet.concurrent.PausableScheduledThreadPoolExecutor
-
Create a
PausableScheduledThreadPoolExecutor
with core/maximum pool size set to one. - PausableScheduledThreadPoolExecutor(String, int) - Constructor for class org.kquiet.concurrent.PausableScheduledThreadPoolExecutor
-
Create a
PausableScheduledThreadPoolExecutor
with specified parameters. - PausableScheduledThreadPoolExecutor(String, int, Consumer<Runnable>) - Constructor for class org.kquiet.concurrent.PausableScheduledThreadPoolExecutor
-
Create a
PausableScheduledThreadPoolExecutor
with specified parameters. - PausableThreadPoolExecutor - Class in org.kquiet.concurrent
-
Pausable
ThreadPoolExecutor
. - PausableThreadPoolExecutor() - Constructor for class org.kquiet.concurrent.PausableThreadPoolExecutor
-
Create a
PausableThreadPoolExecutor
with core/maximum pool size set to one. - PausableThreadPoolExecutor(String, int, int) - Constructor for class org.kquiet.concurrent.PausableThreadPoolExecutor
-
Create a
PausableThreadPoolExecutor
with specified parameters. - PausableThreadPoolExecutor(String, int, int, int) - Constructor for class org.kquiet.concurrent.PausableThreadPoolExecutor
-
Create a
PausableThreadPoolExecutor
with specified parameters. - PausableThreadPoolExecutor(String, int, int, int, long, TimeUnit, Consumer<Runnable>) - Constructor for class org.kquiet.concurrent.PausableThreadPoolExecutor
-
Create a
PausableThreadPoolExecutor
with specified parameters. - PausableThreadPoolExecutor(String, int, int, int, Consumer<Runnable>) - Constructor for class org.kquiet.concurrent.PausableThreadPoolExecutor
-
Create a
PausableThreadPoolExecutor
with specified parameters. - PausableThreadPoolExecutor(String, int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory, Consumer<Runnable>) - Constructor for class org.kquiet.concurrent.PausableThreadPoolExecutor
-
Create a
PausableThreadPoolExecutor
with specified parameters. - PausableThreadPoolExecutor(String, int, int, Consumer<Runnable>) - Constructor for class org.kquiet.concurrent.PausableThreadPoolExecutor
-
Create a
PausableThreadPoolExecutor
with specified parameters. - pause() - Method in interface org.kquiet.browser.ActionRunner
-
Stop executing any newly incoming
ActionComposer
or browser action, but the running ones may or may not keep running(depends on implementation). - pause() - Method in class org.kquiet.browser.BasicActionRunner
-
Stop executing queued
ActionComposer
or browser action, but the running ones will keep running. - pause() - Method in class org.kquiet.concurrent.PausableScheduledThreadPoolExecutor
-
Pause the execution of this
PausableScheduledThreadPoolExecutor
. - pause() - Method in class org.kquiet.concurrent.PausableThreadPoolExecutor
-
Pause the execution of this
PausableThreadPoolExecutor
. - perform() - Method in interface org.kquiet.browser.action.Composable
-
Perform action.
- perform() - Method in class org.kquiet.browser.action.MultiPhaseAction
- perform(Composable) - Method in class org.kquiet.browser.AbstractActionComposer
- perform(Composable) - Method in interface org.kquiet.browser.ActionComposer
-
Perform action.
- performMultiPhase() - Method in class org.kquiet.browser.action.Click
- performMultiPhase() - Method in class org.kquiet.browser.action.Custom
- performMultiPhase() - Method in class org.kquiet.browser.action.Extract
- performMultiPhase() - Method in class org.kquiet.browser.action.JustWait
- performMultiPhase() - Method in class org.kquiet.browser.action.MouseOver
- performMultiPhase() - Method in class org.kquiet.browser.action.MultiPhaseAction
-
Perform multiple-phased browser action.
- performMultiPhase() - Method in class org.kquiet.browser.action.ReplyAlert
- performMultiPhase() - Method in class org.kquiet.browser.action.ScrollToView
- performMultiPhase() - Method in class org.kquiet.browser.action.Select
- performMultiPhase() - Method in class org.kquiet.browser.action.SendKey
- performMultiPhase() - Method in class org.kquiet.browser.action.SinglePhaseAction
- performMultiPhase() - Method in class org.kquiet.browser.action.Upload
- performMultiPhase() - Method in class org.kquiet.browser.action.WaitUntil
- performSinglePhase() - Method in class org.kquiet.browser.action.CloseWindow
- performSinglePhase() - Method in class org.kquiet.browser.action.GetUrl
- performSinglePhase() - Method in class org.kquiet.browser.action.IfThenElse
- performSinglePhase() - Method in class org.kquiet.browser.action.OpenWindow
- performSinglePhase() - Method in class org.kquiet.browser.action.PostForm
- performSinglePhase() - Method in class org.kquiet.browser.action.SinglePhaseAction
-
Perform single-phased browser action.
- postForm(String, List<AbstractMap.SimpleImmutableEntry<String, String>>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Add a
PostForm
to the sequence of actions. - PostForm - Class in org.kquiet.browser.action
-
PostForm
is a subclass ofSinglePhaseAction
which creates a form and submits it through http post. - PostForm(String, List<AbstractMap.SimpleImmutableEntry<String, String>>) - Constructor for class org.kquiet.browser.action.PostForm
-
Create an action representing posting form.
- PostForm(String, List<AbstractMap.SimpleImmutableEntry<String, String>>, String) - Constructor for class org.kquiet.browser.action.PostForm
-
Create an action representing posting form.
- PostFormBuilder(ActionComposerBuilder.ActionSequenceBuilder, String, List<AbstractMap.SimpleImmutableEntry<String, String>>) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.PostFormBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder.PostFormBuilder
with specifiedActionComposerBuilder.ActionSequenceBuilder
as parent builder. - prepareActionSequence() - Method in class org.kquiet.browser.ActionComposerBuilder
-
Start building a sequence of actions.
- prepareClick(By) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Start building a
Click
. - prepareCloseWindow(boolean) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Start building a
CloseWindow
. - prepareCustom(Consumer<ActionComposer>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Start building a single-phased
Custom
. - prepareCustomMultiPhase(Function<MultiPhased, Consumer<ActionComposer>>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Start building a multiple-phased
Custom
. - prepareExtract(By) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Start building a
Extract
. - prepareGetUrl(String) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Start building a
GetUrl
. - prepareIfThenElse(Function<ActionComposer, ?>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Start building an
IfThenElse
. - prepareJustWait(int) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Start building a
JustWait
. - prepareMouseOver(By) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Start building a
MouseOver
. - prepareOpenWindow() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Start building a
OpenWindow
. - preparePostForm(String, List<AbstractMap.SimpleImmutableEntry<String, String>>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Start building a
PostForm
. - prepareReplyAlert(ReplyAlert.Decision) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Start building a
ReplyAlert
. - prepareScrollToView(By, boolean) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Start building a
ScrollToView
. - prepareSelect(By) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Start building a
Select
. - prepareSendKey(By, CharSequence...) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Start building a
SendKey
. - prepareUpload(By, String...) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Start building a
Upload
. - prepareWaitUntil(Function<WebDriver, V>, int) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Start building a
WaitUntil
. - Prioritized - Interface in org.kquiet.concurrent
-
Prioritized
is for internal use and should be implemented by the classes whose instances are intended to be executed byPausablePriorityThreadPoolExecutor
. - PriorityCallable<T> - Class in org.kquiet.concurrent
-
Prioritized
Callable
. - PriorityCallable(Callable<T>, int) - Constructor for class org.kquiet.concurrent.PriorityCallable
-
Crate a prioritized
Callable
. - PriorityRunnable - Class in org.kquiet.concurrent
-
Prioritized
Runnable
. - PriorityRunnable(Runnable, int) - Constructor for class org.kquiet.concurrent.PriorityRunnable
-
Create a prioritized
Runnable
.
R
- registerAs(String) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.OpenWindowBuilder
-
Register opened window with name.
- registerWindow(String, String) - Method in class org.kquiet.browser.AbstractActionComposer
- registerWindow(String, String) - Method in interface org.kquiet.browser.ActionComposer
-
Register a window to keep window identity.
- replyAlert(ReplyAlert.Decision) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Add a
ReplyAlert
to the sequence of actions. - ReplyAlert - Class in org.kquiet.browser.action
-
ReplyAlert
is a subclass ofMultiPhaseAction
which interacts with the alert box. - ReplyAlert(ReplyAlert.Decision, String, String) - Constructor for class org.kquiet.browser.action.ReplyAlert
-
Create an action to deal with alert box.
- ReplyAlert.Decision - Enum Class in org.kquiet.browser.action
-
The way to deal with alert box.
- ReplyAlertBuilder(ActionComposerBuilder.ActionSequenceBuilder, ReplyAlert.Decision) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.ReplyAlertBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder.ReplyAlertBuilder
with specifiedActionComposerBuilder.ActionSequenceBuilder
as parent builder. - resume() - Method in interface org.kquiet.browser.ActionRunner
-
Resume to accept
ActionComposer
or browser action (if any). - resume() - Method in class org.kquiet.browser.BasicActionRunner
-
Resume to executing queued
ActionComposer
or browser action (if any). - resume() - Method in class org.kquiet.concurrent.PausableScheduledThreadPoolExecutor
-
Resume the execution of this
PausableScheduledThreadPoolExecutor
. - resume() - Method in class org.kquiet.concurrent.PausableThreadPoolExecutor
-
Resume the execution of this
PausableThreadPoolExecutor
. - returnToComposerBuilder() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.IfThenElseBuilder
-
Finish building the sequence of actions so far and return control to root builder (
ActionComposerBuilder
). - returnToComposerBuilder() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Finish building the sequence of actions so far and return control to root builder (
ActionComposerBuilder
). - run() - Method in class org.kquiet.browser.BasicActionComposer
- run() - Method in class org.kquiet.concurrent.PriorityRunnable
- RUNNING - Enum constant in enum class org.kquiet.browser.action.ActionState
-
Indicate the browser action is running.
S
- scrollToView(By, boolean) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Add a
ScrollToView
to the sequence of actions. - ScrollToView - Class in org.kquiet.browser.action
-
ScrollToView
is a subclass ofMultiPhaseAction
which scrolls an element into visible area of the browser window. - ScrollToView(By, boolean) - Constructor for class org.kquiet.browser.action.ScrollToView
-
Create an action to scroll to view a specified element.
- ScrollToView(By, List<By>, boolean) - Constructor for class org.kquiet.browser.action.ScrollToView
-
Create an action to scroll to view a specified element.
- ScrollToViewBuilder(ActionComposerBuilder.ActionSequenceBuilder, By, boolean) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.ScrollToViewBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder.ScrollToViewBuilder
with specifiedActionComposerBuilder.ActionSequenceBuilder
as parent builder. - Select - Class in org.kquiet.browser.action
-
Select
is a subclass ofMultiPhaseAction
which selects/deselects options on a SELECT element. - Select(By, List<By>, Select.SelectBy, Object...) - Constructor for class org.kquiet.browser.action.Select
-
Create an action to perform selection against a specific element.
- Select(By, Select.SelectBy, Object...) - Constructor for class org.kquiet.browser.action.Select
-
Create an action to perform selection against a specific element.
- Select.SelectBy - Enum Class in org.kquiet.browser.action
-
The way to perform the selecting.
- SelectBuilder(ActionComposerBuilder.ActionSequenceBuilder, By) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.SelectBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder.SelectBuilder
with specifiedActionComposerBuilder.ActionSequenceBuilder
as parent builder. - selectByIndex(Integer...) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.SelectBuilder
-
Select option by index.
- selectByIndex(By, Integer...) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Add a
Select
to the sequence of actions, which select by index. - selectByText(String...) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.SelectBuilder
-
Select option By text.
- selectByText(By, String...) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Add a
Select
to the sequence of actions, which select by text. - selectByValue(String...) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.SelectBuilder
-
Select option by value.
- selectByValue(By, String...) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Add a
Select
to the sequence of actions, which select by value. - sendKey(By, CharSequence...) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Add a
SendKey
to the sequence of actions. - SendKey - Class in org.kquiet.browser.action
-
SendKey
is a subclass ofMultiPhaseAction
which types into an element. - SendKey(By, boolean, CharSequence...) - Constructor for class org.kquiet.browser.action.SendKey
-
Create an action to input keys to a specified element.
- SendKey(By, List<By>, boolean, CharSequence...) - Constructor for class org.kquiet.browser.action.SendKey
-
Create an action to input keys to a specified element.
- SendKeyBuilder(ActionComposerBuilder.ActionSequenceBuilder, By, CharSequence...) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.SendKeyBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder.SendKeyBuilder
with specifiedActionComposerBuilder.ActionSequenceBuilder
as parent builder. - setActionRunner(ActionRunner) - Method in class org.kquiet.browser.AbstractActionComposer
- setActionRunner(ActionRunner) - Method in interface org.kquiet.browser.ActionComposer
-
Set associated
ActionRunner
. - setActionRunner(ActionRunner) - Method in class org.kquiet.browser.BasicActionComposer
- setActionState(ActionState) - Method in class org.kquiet.browser.action.MultiPhaseAction
-
Set the state of this
MultiPhaseAction
. - setCloseWindow(boolean) - Method in class org.kquiet.browser.BasicActionComposer
-
Determine whether close all registered windows at the end.
- setComposer(ActionComposer) - Method in interface org.kquiet.browser.action.Composable
-
Set containing composer.
- setComposer(ActionComposer) - Method in class org.kquiet.browser.action.MultiPhaseAction
- setFocusWindow(String) - Method in class org.kquiet.browser.AbstractActionComposer
- setFocusWindow(String) - Method in interface org.kquiet.browser.ActionComposer
-
Set the specified window as the focus window.
- setFocusWindow(String) - Method in class org.kquiet.browser.BasicActionComposer
- setName(String) - Method in class org.kquiet.browser.AbstractActionComposer
- setName(String) - Method in interface org.kquiet.browser.ActionComposer
-
Set the name of this
ActionComposer
. - setName(String) - Method in interface org.kquiet.browser.ActionRunner
-
Set the name of this
ActionRunner
. - setName(String) - Method in class org.kquiet.browser.BasicActionComposer
- setName(String) - Method in class org.kquiet.browser.BasicActionRunner
- setOpenWindow(boolean) - Method in class org.kquiet.browser.BasicActionComposer
-
Determine whether open a window as focus window at the begining.
- setPriority(int) - Method in class org.kquiet.browser.AbstractActionComposer
-
Set the priority of this
AbstractActionComposer
. - setPriority(int) - Method in class org.kquiet.browser.BasicActionComposer
- setVariable(String, Object) - Method in class org.kquiet.browser.AbstractActionComposer
- setVariable(String, Object) - Method in interface org.kquiet.browser.ActionComposer
-
Set variable value.
- setVariable(String, Object) - Method in class org.kquiet.browser.BasicActionComposer
- SinglePhaseAction - Class in org.kquiet.browser.action
-
SinglePhaseAction
is a subclass ofMultiPhaseAction
which has only one phase. - SinglePhaseAction() - Constructor for class org.kquiet.browser.action.SinglePhaseAction
- skipped() - Method in interface org.kquiet.browser.ActionComposer
-
Check if
ActionComposer.skipToFail()
orActionComposer.skipToSuccess()
of thisActionComposer
has been invoked. - skipped() - Method in class org.kquiet.browser.BasicActionComposer
- skipToFail() - Method in interface org.kquiet.browser.ActionComposer
-
Skip the execution of remaining actions and mark this
ActionComposer
as failed. - skipToFail() - Method in class org.kquiet.browser.BasicActionComposer
-
Skip the execution of remaining actions and mark this
BasicActionComposer
as failed. - skipToSuccess() - Method in interface org.kquiet.browser.ActionComposer
-
Skip the execution of remaining actions.
- skipToSuccess() - Method in class org.kquiet.browser.BasicActionComposer
-
Skip the execution of remaining actions.
- start() - Method in class org.kquiet.utility.Stopwatch
-
Start this
Stopwatch
without reset. - start(boolean) - Method in class org.kquiet.utility.Stopwatch
-
Start this
Stopwatch
with the option to reset. - stop() - Method in class org.kquiet.utility.Stopwatch
-
Stop this
Stopwatch
. - Stopwatch - Class in org.kquiet.utility
-
Stopwatch.
- Stopwatch() - Constructor for class org.kquiet.utility.Stopwatch
- switchToFocusWindow() - Method in class org.kquiet.browser.AbstractActionComposer
- switchToFocusWindow() - Method in interface org.kquiet.browser.ActionComposer
-
Switch browser's focus window to this
ActionComposer
's focus window. - switchToInnerFrame(List<By>) - Method in class org.kquiet.browser.AbstractActionComposer
- switchToInnerFrame(List<By>) - Method in interface org.kquiet.browser.ActionComposer
-
Switch to send future commands to a frame.
- switchToTop() - Method in class org.kquiet.browser.AbstractActionComposer
- switchToTop() - Method in interface org.kquiet.browser.ActionComposer
-
Switch the focus of future commands to either the first frame on the page, or the main document when a page contains iframes.
- switchToTopForFirefox() - Method in class org.kquiet.browser.action.MultiPhaseAction
-
Switch to top for firefox.
- switchToWindow(String) - Method in class org.kquiet.browser.AbstractActionComposer
- switchToWindow(String) - Method in interface org.kquiet.browser.ActionComposer
-
Switch browser's focus window to specified window.
T
- Text - Enum constant in enum class org.kquiet.browser.action.Select.SelectBy
-
Select/deselect the option by text.
- then() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.IfThenElseBuilder
-
Start building the action list for the positive result of predicate.
- toString() - Method in class org.kquiet.browser.action.Click
- toString() - Method in class org.kquiet.browser.action.CloseWindow
- toString() - Method in class org.kquiet.browser.action.Custom
- toString() - Method in class org.kquiet.browser.action.Extract
- toString() - Method in class org.kquiet.browser.action.GetUrl
- toString() - Method in class org.kquiet.browser.action.IfThenElse
- toString() - Method in class org.kquiet.browser.action.JustWait
- toString() - Method in class org.kquiet.browser.action.MouseOver
- toString() - Method in class org.kquiet.browser.action.MultiPhaseAction
- toString() - Method in class org.kquiet.browser.action.OpenWindow
- toString() - Method in class org.kquiet.browser.action.PostForm
- toString() - Method in class org.kquiet.browser.action.ReplyAlert
- toString() - Method in class org.kquiet.browser.action.ScrollToView
- toString() - Method in class org.kquiet.browser.action.Select
- toString() - Method in class org.kquiet.browser.action.SendKey
- toString() - Method in class org.kquiet.browser.action.Upload
- toString() - Method in class org.kquiet.browser.action.WaitUntil
- toString() - Method in enum class org.kquiet.browser.BrowserType
- totalCostWatch - Variable in class org.kquiet.browser.AbstractActionComposer
-
The stop watch used to measure run cost of this
AbstractActionComposer
.
U
- upload(By, String...) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Add a
Upload
to the sequence of actions. - Upload - Class in org.kquiet.browser.action
-
Upload
is a subclass ofMultiPhaseAction
which types path of file into the file upload element. - Upload(By, String...) - Constructor for class org.kquiet.browser.action.Upload
-
Create an action to perform file uploads.
- Upload(By, List<By>, String...) - Constructor for class org.kquiet.browser.action.Upload
-
Create an action to perform file uploads.
- UploadBuilder(ActionComposerBuilder.ActionSequenceBuilder, By, String...) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.UploadBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder.UploadBuilder
with specifiedActionComposerBuilder.ActionSequenceBuilder
as parent builder.
V
- Value - Enum constant in enum class org.kquiet.browser.action.Select.SelectBy
-
Select/deselect the option by value.
- valueOf(String) - Static method in enum class org.kquiet.browser.action.ActionState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kquiet.browser.action.ReplyAlert.Decision
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kquiet.browser.action.Select.SelectBy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.kquiet.browser.BrowserType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.kquiet.browser.action.ActionState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kquiet.browser.action.ReplyAlert.Decision
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kquiet.browser.action.Select.SelectBy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.kquiet.browser.BrowserType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WAIT_FOR_NEXT_PHASE - Enum constant in enum class org.kquiet.browser.action.ActionState
-
Indicate the browser action has finished an execution phase with no error and is waiting for the execution of next phase.
- waitUntil(Function<WebDriver, V>, int) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder
-
Add a
WaitUntil
to the sequence of actions. - WaitUntil<V> - Class in org.kquiet.browser.action
-
WaitUntil
is a subclass ofMultiPhaseAction
which waits the evaluation result of condition function by phases to avoid blocking the execution of other browser actions. - WaitUntil(Function<WebDriver, V>, int) - Constructor for class org.kquiet.browser.action.WaitUntil
-
Create an action to wait with default phased timeout and polling interval until conditions are met or timed out.
- WaitUntil(Function<WebDriver, V>, int, int, int) - Constructor for class org.kquiet.browser.action.WaitUntil
-
Create an action to wait until conditions are met or timed out.
- WaitUntil(Function<WebDriver, V>, int, int, int, Set<Class<? extends Throwable>>, Consumer<ActionComposer>) - Constructor for class org.kquiet.browser.action.WaitUntil
-
Create an action to wait until conditions are met or timed out.
- WaitUntil(Function<WebDriver, V>, int, Consumer<ActionComposer>) - Constructor for class org.kquiet.browser.action.WaitUntil
-
Create an action to wait with default phased timeout and polling interval until conditions are met or timed out.
- WaitUntil(Function<WebDriver, V>, int, Set<Class<? extends Throwable>>) - Constructor for class org.kquiet.browser.action.WaitUntil
-
Create an action to wait with default phased timeout and polling interval until conditions are met or timed out.
- WaitUntil(Function<WebDriver, V>, int, Set<Class<? extends Throwable>>, Consumer<ActionComposer>) - Constructor for class org.kquiet.browser.action.WaitUntil
-
Create an action to wait with default phased timeout and polling interval until conditions are met or timed out.
- WaitUntilBuilder(ActionComposerBuilder.ActionSequenceBuilder, Function<WebDriver, V>, int) - Constructor for class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.WaitUntilBuilder
-
Create a new
ActionComposerBuilder.ActionSequenceBuilder.WaitUntilBuilder
with specifiedActionComposerBuilder.ActionSequenceBuilder
as parent builder. - withAcceptCharset(String) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.PostFormBuilder
-
Set the charset used in the submitted form.
- withAttributeAsVariable(Map<String, String>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.ExtractBuilder
-
Set the value of properties/attributes of the element as variables of building
ActionComposer
. - withClearBeforeSend() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.SendKeyBuilder
-
Clear before sending keys.
- withComposerFocus() - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.OpenWindowBuilder
-
Set opened window as focus window.
- withIgnoredException(Set<Class<? extends Throwable>>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.WaitUntilBuilder
-
Set the types of exceptions to ignore when evaluating condition function.
- withInFrame(List<By>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.ClickBuilder
-
Set the frame locating mechanism for the element resides in a frame.
- withInFrame(List<By>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.CustomBuilder
-
Set the frame locating mechanism for the frame where the custom action to be performed against.
- withInFrame(List<By>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.ExtractBuilder
-
Set the frame locating mechanism for the element resides in a frame.
- withInFrame(List<By>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.MouseOverBuilder
-
Set the frame locating mechanism for the element resides in a frame.
- withInFrame(List<By>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.ScrollToViewBuilder
-
Set the frame locating mechanism for the element resides in a frame.
- withInFrame(List<By>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.SelectBuilder
-
Set the frame locating mechanism for the element resides in a frame.
- withInFrame(List<By>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.SendKeyBuilder
-
Set the frame locating mechanism for the element resides in a frame.
- withInFrame(List<By>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.UploadBuilder
-
Set the frame locating mechanism for the element resides in a frame.
- withKeysToSend(String) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.ReplyAlertBuilder
-
Send characters to alert box.
- withPhaseTimeout(int) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.JustWaitBuilder
-
Set the maximum amount of time to wait for each execution phase.
- withPhaseTimeout(int) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.WaitUntilBuilder
-
Set the maximum amount of time to wait for each execution phase.
- withPollInterval(int) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.WaitUntilBuilder
-
Set how often the condition function should be evaluated.
- withTextAsVariable(String) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.ExtractBuilder
-
Set the text of the element as a variable of building
ActionComposer
. - withTextAsVariable(String) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.ReplyAlertBuilder
-
Set the text of alert box as a variable of building
ActionComposer
. - withTimeoutCallback(Consumer<ActionComposer>) - Method in class org.kquiet.browser.ActionComposerBuilder.ActionSequenceBuilder.WaitUntilBuilder
-
Set the callback function to be called when total timeout expires.
All Classes and Interfaces|All Packages|Serialized Form