public class BrowserMetricsContext extends Object
Constructor and Description |
---|
BrowserMetricsContext() |
Modifier and Type | Method and Description |
---|---|
Checkpoint |
checkpoint()
Returns a checkpoint containing the current state of beacon list.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
condition(Checkpoint checkpoint,
String key)
Waits for the occurrence of a beacon with the given transition key after the given checkpoint.
|
boolean |
exists(Checkpoint checkpoint,
String key)
Check whether a beacon with given transition key exists after a checkpoint.
|
Beacon |
waitFor(Checkpoint checkpoint,
String key)
Waits for the occurrence of a beacon with the given transition key exists after a checkpoint.
|
public Checkpoint checkpoint()
public Beacon waitFor(Checkpoint checkpoint, String key)
checkpoint
- Starting point. Only beacons after this checkpoint will be inspected.key
- Transition key to watch for.public boolean exists(Checkpoint checkpoint, String key)
checkpoint
- Starting point. Only beacons after this checkpoint will be inspected.key
- Transition key to watch for.public com.atlassian.pageobjects.elements.query.TimedCondition condition(Checkpoint checkpoint, String key)
checkpoint
- Starting point. Only beacons after this checkpoint will be inspected.key
- Transition key to watch for.Copyright © 2002-2022 Atlassian. All Rights Reserved.