WebDeviceInfo
        Inherits: DeviceInfo
Information derived from navigator.
More info: https://developer.mozilla.org/en-US/docs/Web/API/Window/navigator
Properties
- 
          app_code_name(str | None) –The internal 'code' name of the current browser. 
- 
          app_name(str | None) –A string with the official name of the browser. 
- 
          app_version(str | None) –The version of the browser as a string. 
- 
          browser_name(WebBrowserName) –The name of the browser in use. 
- 
          device_memory(float | None) –The amount of device memory in gigabytes. 
- 
          hardware_concurrency(int | None) –The number of logical processor cores available. 
- 
          language(str | None) –A string representing the preferred language of the user, usually the language 
- 
          languages(list[str] | None) –A list of strings representing the languages known to the user, by order of 
- 
          max_touch_points(int | None) –The maximum number of simultaneous touch contact points supported 
- 
          platform(str | None) –A string representing the platform of the browser. 
- 
          product(str | None) –Always returns "Gecko", on any browser.
- 
          product_sub(str | None) –The build number of the current browser. 
- 
          user_agent(str | None) –The user agent string for the current browser (e.g., 'Mozilla/5.0 ...'). 
- 
          vendor(str | None) –The vendor name of the current browser. 
- 
          vendor_sub(str | None) –Returns the vendor version number (e.g., '6.1'). 
Properties#
class-attribute
      instance-attribute
  
#
app_code_name: str | None = None
The internal 'code' name of the current browser.
More info: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/appCodeName
Note
Do not rely on this property to return the correct value.
class-attribute
      instance-attribute
  
#
app_name: str | None = None
A string with the official name of the browser.
More info: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/appName
Note
Do not rely on this property to return the correct value.
class-attribute
      instance-attribute
  
#
app_version: str | None = None
The version of the browser as a string.
More info: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/appVersion
Note
Do not rely on this property to return the correct value.
class-attribute
      instance-attribute
  
#
device_memory: float | None = None
The amount of device memory in gigabytes.
This value is an approximation given by rounding to the nearest power of 2 and
dividing that number by 1024.
More info: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/deviceMemory
class-attribute
      instance-attribute
  
#
hardware_concurrency: int | None = None
The number of logical processor cores available.
More info: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/hardwareConcurrency
class-attribute
      instance-attribute
  
#
language: str | None = None
A string representing the preferred language of the user, usually the language of the browser UI.
Will be None if unknown.
More info: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language
class-attribute
      instance-attribute
  
#
    A list of strings representing the languages known to the user, by order of preference.
More info: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/languages
class-attribute
      instance-attribute
  
#
max_touch_points: int | None = None
The maximum number of simultaneous touch contact points supported by the current device.
More info: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/maxTouchPoints
class-attribute
      instance-attribute
  
#
platform: str | None = None
A string representing the platform of the browser.
More info: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/platform
Note
Do not rely on this property to return the correct value.
class-attribute
      instance-attribute
  
#
product: str | None = None
Always returns "Gecko", on any browser.
More info: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/product
Note
Do not rely on this property to return the correct value. This property is kept only for compatibility purposes.
class-attribute
      instance-attribute
  
#
product_sub: str | None = None
The build number of the current browser.
More info: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/productSub
Note
Do not rely on this property to return the correct value.
class-attribute
      instance-attribute
  
#
user_agent: str | None = None
The user agent string for the current browser (e.g., 'Mozilla/5.0 ...').
More info: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent
class-attribute
      instance-attribute
  
#
vendor: str | None = None
The vendor name of the current browser.
More info: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vendor
class-attribute
      instance-attribute
  
#
vendor_sub: str | None = None
Returns the vendor version number (e.g., '6.1').
More info: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vendorSub
Note
Do not rely on this property to return the correct value.