TraceContext
instead from
maven module com.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.@Deprecated public class TraceContext extends Object
org.apache.log4j.Logger.getLogger(TraceContext.class).setLevel(org.apache.log4j.Level.DEBUG);
This is Jira's TraceContext. See trace.js for the javascript side.
Tracer
,
Tracing to fix flakiness in Webdriver
TODO remove and replace with equivalent atlassian-webdriver version, when SELENIUM-229 is fixed.Constructor and Description |
---|
TraceContext()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
bindTraceToEvents(String... eventNames)
Deprecated.
Ensures AJS.trace is invoked with each time any of the given events is triggered.
|
Tracer |
checkpoint()
Deprecated.
Returns a tracer containing the current state of trace list.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
condition(Tracer tracer,
String key)
Deprecated.
Waits for the occurrence of a trace with the given key after the given tracer.
|
boolean |
exists(Tracer tracer,
String key)
Deprecated.
|
List<Map<String,Object>> |
getArguments(Tracer tracer,
String key)
Deprecated.
|
void |
waitFor(Tracer tracer,
String key)
Deprecated.
Waits for the occurrence of a trace with the given key after the given tracer.
|
public Tracer checkpoint()
public void waitFor(Tracer tracer, String key)
tracer
- checkpoint. Only traces after this checkpoint will be inspected.key
- tracer key to watch forpublic com.atlassian.pageobjects.elements.query.TimedCondition condition(Tracer tracer, String key)
tracer
- checkpoint. Only traces after this checkpoint will be inspected.key
- tracer key to watch forpublic void bindTraceToEvents(String... eventNames)
eventNames
- the event names to bind to.Copyright © 2003–2017 Atlassian. All rights reserved.