Skip to main content

LensStudio:UiTest.invoke

Function

Invokes the named method on the target widget (such as the preview panel) and returns whether the call succeeded.

invoke(widget, method): boolean

Invokes the named method on the target widget (such as the preview panel) and returns whether the call succeeded.

Parameters

ParameterType
widgetWidget
methodstring

Returns

boolean