switchToApp
Change from one application to another.
Arguments
appName
(string): Application name equivalent to the value specified in the application'spackage.json
file.queryParameters
(Object, Optional): Plain object with keys used query parameters with their respective values. Note that keys will be converted from camelCase to kebab-case.
Returns
(Promise<void>
): A promise that fulfills without arguments.
Example
Notes
switchBackTo
is a special query parameter used in the exit()
method to determine whether to switch to the default app (currently app-switcher
) or the app specified as the value for this parameter.
Last updated