public class BrowserMobProxyUtil extends Object
Constructor and Description |
---|
BrowserMobProxyUtil() |
Modifier and Type | Method and Description |
---|---|
static Har |
copyHarThroughPageRef(Har har,
String pageRef)
|
static net.sf.uadetector.UserAgentStringParser |
getUserAgentStringParser()
Retrieve the User Agent String Parser.
|
static String |
getVersionString()
Returns the version of BrowserMob Proxy, e.g.
|
public static net.sf.uadetector.UserAgentStringParser getUserAgentStringParser()
public static Har copyHarThroughPageRef(Har har, String pageRef)
HarEntry
and HarPage
references from the specified har to a new har copy, up to and including
the specified pageRef. Does not perform a "deep copy", so any subsequent modification to the entries or pages will
be reflected in the copied har.har
- existing har to copypageRef
- last page ID to copyHar
with entries and pages from the original har, or null if the input har is nullpublic static String getVersionString()
Copyright © 2016. All Rights Reserved.