Matterway
    Preparing search index...

    Function setProperty

    • Changes the value of an element property.

      Parameters

      • ctx: Context

        Context object.

      • selector: string

        Element selector.

      • propertyName: string

        The property to be set.

      • value: string

        The value to set the property to.

      • Optionaloptions: WaitForSelectorOptions

      Returns Promise<void>

      await setProperty(ctx, '#my-selector', 'disabled', 'true');