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('๐ค')}
Table of Contents