Home > assistive-playwright-client > createVM
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>;
Parameter | Type | Description |
---|---|---|
vmconfig | VMConfiguration |
Returns:
Promise<VMWithPlaywright>