public class WebPage extends Object
| Modifier and Type | Field and Description |
|---|---|
Browser |
browser |
static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
WebPage() |
| Modifier and Type | Method and Description |
|---|---|
void |
activateLatencyControl(String localId,
String remoteId) |
void |
activatePeerConnectionInboundStats(String peerConnectionId) |
void |
activatePeerConnectionOutboundStats(String peerConnectionId) |
void |
checkColor(String... videoTags) |
void |
checkLatencyUntil(SystemMonitorManager monitor,
long endTimeMillis) |
boolean |
compareColor(String videoTag,
Color expectedColor,
boolean logWarn) |
Browser |
getBrowser() |
Color |
getCurrentColor(VideoTag videoTag) |
long |
getCurrentTime(VideoTag videoTag) |
long |
getLatency() |
PeerConnectionStats |
getRtcStats() |
int |
getThresholdTime() |
int |
getTimeout() |
void |
setBrowser(Browser browser) |
void |
setColorCoordinates(int x,
int y) |
void |
setThresholdTime(int thresholdTime) |
void |
setTimeout(int timeoutSeconds) |
boolean |
similarColor(String videoTag,
Color expectedColor) |
boolean |
similarColorAt(String videoTag,
Color expectedColor,
int x,
int y) |
void |
takeScreeshot(String file) |
void |
waitColor(long timeoutSeconds,
VideoTag videoTag,
Color color) |
public static org.slf4j.Logger log
public Browser browser
public Browser getBrowser()
public void setBrowser(Browser browser)
public void takeScreeshot(String file) throws IOException
IOExceptionpublic void setThresholdTime(int thresholdTime)
public void setColorCoordinates(int x,
int y)
public void checkColor(String... videoTags)
public void activatePeerConnectionInboundStats(String peerConnectionId)
public void activatePeerConnectionOutboundStats(String peerConnectionId)
public long getLatency()
throws InterruptedException
InterruptedExceptionpublic long getCurrentTime(VideoTag videoTag)
public void checkLatencyUntil(SystemMonitorManager monitor, long endTimeMillis) throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic PeerConnectionStats getRtcStats()
public int getTimeout()
public void setTimeout(int timeoutSeconds)
public int getThresholdTime()
Copyright © 2016 Kurento. All rights reserved.