UADetect robotStatus Componet

Description

Tells whether the client is being operated by a webdriver (robot) or not.

Possible Returns

  • robotControlled
  • humanControlled
  • ERROR

Usage Example

#1

import { robotStatus } from 'uadetect';if (robotStatus === 'robotControlled') {  alert('๐Ÿค–')}

#2

import { robotStatus } from 'uadetect';if (robotStatus === 'humanControlled') {  alert('๐Ÿ‘ค')}