| Package | Description |
|---|---|
| com.crawljax.browser |
This is the core package for the browsers.
|
| com.crawljax.core | |
| com.crawljax.core.plugin | |
| com.crawljax.core.state | |
| com.crawljax.forms |
Forms package.
|
| com.crawljax.util |
Utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
WebDriverBackedEmbeddedBrowser.fireEventAndWait(Eventable eventable)
Fires an event on an element using its identification.
|
boolean |
EmbeddedBrowser.fireEventAndWait(Eventable event)
fires the event.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<List<Eventable>> |
CrawlSession.getCrawlPaths() |
| Modifier and Type | Method and Description |
|---|---|
void |
CrawlSession.addCrawlPath(List<Eventable> crawlPath) |
protected void |
CrawlSession.removeCrawlPath(List<Eventable> path)
Remove the current path from the set of crawlPaths.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DomChangeNotifierPlugin.isDomChanged(CrawlerContext context,
String domBefore,
Eventable e,
String domAfter)
Check to see if the (new) DOM is changed with regards to the old DOM.
|
void |
OnFireEventFailedPlugin.onFireEventFailed(CrawlerContext context,
Eventable eventable,
List<Eventable> pathToFailure)
Method that is called when an event that was requested to fire failed firing.
|
boolean |
Plugins.runDomChangeNotifierPlugins(CrawlerContext context,
StateVertex stateBefore,
Eventable event,
StateVertex stateAfter)
Load and run the DomChangeNotifierPlugin.
|
void |
Plugins.runOnFireEventFailedPlugins(CrawlerContext context,
Eventable eventable,
List<Eventable> path)
Load and run the OnFireEventFailedPlugins, this call has been made from the fireEvent when
the event is not fireable.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OnFireEventFailedPlugin.onFireEventFailed(CrawlerContext context,
Eventable eventable,
List<Eventable> pathToFailure)
Method that is called when an event that was requested to fire failed firing.
|
void |
Plugins.runOnFireEventFailedPlugins(CrawlerContext context,
Eventable eventable,
List<Eventable> path)
Load and run the OnFireEventFailedPlugins, this call has been made from the fireEvent when
the event is not fireable.
|
| Modifier and Type | Method and Description |
|---|---|
Eventable |
CrawlPath.last()
Get the last Eventalbe in the path.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Eventable> |
CrawlPath.delegate() |
com.google.common.collect.ImmutableSet<Eventable> |
StateFlowGraph.getAllEdges()
Return all the edges in the StateFlowGraph.
|
com.google.common.collect.ImmutableSet<Eventable> |
InMemoryStateFlowGraph.getAllEdges() |
List<List<org.jgrapht.GraphPath<StateVertex,Eventable>>> |
StateFlowGraph.getAllPossiblePaths(StateVertex index)
This method returns all possible paths from the index state using the Kshortest paths.
|
List<List<org.jgrapht.GraphPath<StateVertex,Eventable>>> |
InMemoryStateFlowGraph.getAllPossiblePaths(StateVertex index) |
com.google.common.collect.ImmutableSet<Eventable> |
StateFlowGraph.getIncomingClickable(StateVertex stateVertix)
Returns a set of all edges incoming into the specified vertex.
|
com.google.common.collect.ImmutableSet<Eventable> |
InMemoryStateFlowGraph.getIncomingClickable(StateVertex stateVertix) |
com.google.common.collect.ImmutableSet<Eventable> |
StateFlowGraph.getOutgoingClickables(StateVertex stateVertix)
Returns a set of all clickables outgoing from the specified vertex.
|
com.google.common.collect.ImmutableSet<Eventable> |
InMemoryStateFlowGraph.getOutgoingClickables(StateVertex stateVertix) |
com.google.common.collect.ImmutableList<Eventable> |
StateFlowGraph.getShortestPath(StateVertex start,
StateVertex end)
Convenience method to find the Dijkstra shortest path between two states on the graph.
|
com.google.common.collect.ImmutableList<Eventable> |
InMemoryStateFlowGraph.getShortestPath(StateVertex start,
StateVertex end) |
com.google.common.collect.ImmutableList<Eventable> |
StateVertex.getUsedEventables() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
InMemoryStateFlowGraph.addEdge(StateVertex sourceVert,
StateVertex targetVert,
Eventable clickable)
Adds the specified edge to this graph, going from the source vertex to the target vertex.
|
boolean |
StateMachine.swithToStateAndCheckIfClone(Eventable event,
StateVertex newState,
CrawlerContext context)
Adds an edge between the current and new state.
|
| Modifier and Type | Method and Description |
|---|---|
static CrawlPath |
CrawlPath.copyOf(List<Eventable> eventable) |
| Constructor and Description |
|---|
CrawlPath(List<Eventable> delegate)
Create a new CrawlPath based on a delegate.
|
| Modifier and Type | Method and Description |
|---|---|
Eventable |
FormInput.getEventable() |
| Modifier and Type | Method and Description |
|---|---|
void |
FormInput.setEventable(Eventable eventable) |
| Modifier and Type | Method and Description |
|---|---|
List<Eventable> |
DomHistoryElement.getEventSequence() |
| Modifier and Type | Method and Description |
|---|---|
void |
DomHistoryElement.setEventSequence(List<Eventable> eventSequence) |
| Constructor and Description |
|---|
ElementResolver(Eventable eventable,
EmbeddedBrowser browser)
Constructor.
|
| Constructor and Description |
|---|
DomHistoryElement(String domStr,
Document dom,
List<Eventable> eventSeq)
Constructor.
|
DomHistoryElement(String domStr,
List<Eventable> eventSeq)
Constructor.
|
Copyright © 2007-2013. All Rights Reserved.