Assistive-Webdriver

Home > assistive-playwright-client > createVM

createVM() function

Clones and starts a virtual machine that contains assistive-playwright-server, and returns an object allowing to control playwright inside the virtual machine, send low-level keyboard and mouse events and receive messages from the screen reader. This is the main entry point of the assistive-playwright-client API.

Signature:

export declare function createVM(vmconfig: VMConfiguration): Promise<VMWithPlaywright>;

Parameters

Parameter Type Description
vmconfig VMConfiguration  

Returns:

Promise<VMWithPlaywright>