public class UserAgent extends Object
RequestHeaders
Modifier and Type | Class and Description |
---|---|
static class |
UserAgent.Family |
Modifier and Type | Field and Description |
---|---|
static UserAgent |
CHROME
Chrome browser
|
static UserAgent |
TOR
Tor Browser
|
Constructor and Description |
---|
UserAgent(UserAgent.Family family,
String vendor,
String platform,
String oscpu,
String appVersion,
String userAgentString) |
UserAgent(UserAgent.Family family,
String language,
String vendor,
String platform,
String oscpu,
String appVersion,
String userAgentString) |
public static UserAgent CHROME
RequestHeaders.CHROME
public static UserAgent TOR
RequestHeaders.TOR
public UserAgent(UserAgent.Family family, String vendor, String platform, String oscpu, String appVersion, String userAgentString)
family
- Category of browsers which share similar propertiesvendor
- Property of the navigator objectplatform
- Property of the navigator objectoscpu
- Property of the navigator objectappVersion
- Property of the navigator objectuserAgentString
- Property of the navigator object and also sent on headerspublic UserAgent(UserAgent.Family family, String language, String vendor, String platform, String oscpu, String appVersion, String userAgentString)
family
- Category of browsers which share similar propertieslanguage
- Language property of the navigator objectvendor
- Property of the navigator objectplatform
- Property of the navigator objectoscpu
- Property of the navigator objectappVersion
- Property of the navigator objectuserAgentString
- Property of the navigator object and also sent on headersCopyright © 2014-2017 Machine Publishers, LLC and the jBrowserDriver contributors.
Project homepage: https://github.com/machinepublishers/jbrowserdriver