Assistive-Webdriver

Home > vm-providers > VMConfig

VMConfig interface

Configuration that can be passed to createVM when cloning and starting a virtual machine.

Signature:

export interface VMConfig<T> 

Properties

Property Type Description
id? string (Optional) Id of the new virtual machine. If not provided, an automatically-generated UUID is used.
log? LogFunction (Optional) Log function.
redirectTCPPorts? number[] (Optional) List of TCP port numbers in the virtual machine that should be accessible from the host. For each redirection requested in this array, a PortRedirection object will be available in the VM.tcpRedirections array.
vmSettings T Defines the provider and the settings for the virtual machine, as available for each provider.