public class Navigator extends SimpleScriptable
Navigator
.Constructor and Description |
---|
Navigator()
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getAppCodeName()
Returns the
appCodeName property. |
String |
getAppMinorVersion()
Returns the
appMinorVersion property. |
String |
getAppName()
Returns the
appName property. |
String |
getAppVersion()
Returns the
appVersion property. |
String |
getBrowserLanguage()
Returns the language of the browser.
|
String |
getBuildID()
Returns the
buildID property. |
NetworkInformation |
getConnection()
Returns the
connection property. |
String |
getCpuClass()
Returns the
cpuClass property. |
Object |
getDoNotTrack()
Returns the
doNotTrack property. |
Geolocation |
getGeolocation()
Returns the
geolocation property. |
String |
getLanguage()
Returns the language of the browser.
|
MediaDevices |
getMediaDevices()
Returns the
mimeTypes property. |
Object |
getMimeTypes()
Returns the
mimeTypes property. |
String |
getOscpu()
Returns the
oscpu property. |
String |
getPlatform()
Returns the
platform property. |
Object |
getPlugins()
Returns an empty array because HtmlUnit does not support embedded objects.
|
String |
getProduct()
Returns the
product property. |
String |
getProductSub()
Returns the build number of the current browser.
|
String |
getSystemLanguage()
Returns the property
systemLanguage . |
String |
getUserAgent()
Returns the property
userAgent . |
String |
getUserLanguage()
Returns the property
userLanguage . |
String |
getVendor()
Returns the
vendor property. |
String |
getVendorSub()
Returns the
vendorSub property. |
boolean |
isCookieEnabled()
Returns the
cookieEnabled property. |
boolean |
isOnLine()
Returns the
onLine property. |
boolean |
javaEnabled()
Indicates if Java is enabled.
|
boolean |
taintEnabled()
Returns
false always as data tainting support is not enabled in HtmlUnit. |
clone, equivalentValues, get, getBrowserVersion, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getWindow, getWindow, getWithPreemption, has, hasInstance, initParentScope, makeScriptableFor, setCaseSensitive, setDomNode, setDomNode, setHtmlElement
defineFunctionProperties, defineProperty, getClassName, put, setClassName, setParentScope
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setPrototype, size
public String getAppCodeName()
appCodeName
property.appCodeName
propertypublic String getAppMinorVersion()
appMinorVersion
property.appMinorVersion
propertypublic String getAppName()
appName
property.appName
propertypublic String getAppVersion()
appVersion
property.appVersion
propertypublic String getBrowserLanguage()
public String getLanguage()
public boolean isCookieEnabled()
cookieEnabled
property.cookieEnabled
propertypublic String getCpuClass()
cpuClass
property.cpuClass
propertypublic boolean isOnLine()
onLine
property.onLine
propertypublic String getPlatform()
platform
property.platform
propertypublic String getProduct()
product
property.product
propertypublic String getProductSub()
public String getSystemLanguage()
systemLanguage
.systemLanguag
public String getUserAgent()
userAgent
.userAgent
public String getUserLanguage()
userLanguage
.userLanguage
public Object getPlugins()
public Object getMimeTypes()
mimeTypes
property.mimeTypes
propertypublic boolean javaEnabled()
WebClientOptions.isAppletEnabled()
public boolean taintEnabled()
false
always as data tainting support is not enabled in HtmlUnit.public Geolocation getGeolocation()
geolocation
property.geolocation
propertypublic String getBuildID()
buildID
property.buildID
propertypublic String getVendor()
vendor
property.vendor
propertypublic String getVendorSub()
vendorSub
property.vendorSub
propertypublic Object getDoNotTrack()
doNotTrack
property.doNotTrack
propertypublic String getOscpu()
oscpu
property.oscpu
propertypublic NetworkInformation getConnection()
connection
property.connection
propertypublic MediaDevices getMediaDevices()
mimeTypes
property.mimeTypes
propertyCopyright © 2002–2021 Gargoyle Software Inc.. All rights reserved.