Assistive-Webdriver

Home > assistive-playwright-client > VMWithPlaywright

VMWithPlaywright interface

Object allowing to control playwright inside the virtual machine, send low-level keyboard and mouse events and receive messages from the screen reader.

Signature:

export interface VMWithPlaywright extends RemotePlaywright 

Extends: RemotePlaywright

Properties

Property Type Description
calibrateMouse CalibrateMouseFunction Function allowing to create a VMMouse object that is calibrated for a specific playwright frame and allowing to easily send low-level mouse events to the virtual machine, using coordinates related to the browser viewport or DOM elements.
keyboard VMKeyboard Object allowing to easily send low-level keyboard events to the virtual machine.
screenReader ScreenReaderClient Object giving access messages from the screen reader.
url string URL of assistive-playwright-server.
vm VM Reference to the virtual machine.