name: ctrlWebBrowserAction
description: Executes an action on a web browser control
groups:
  - GUI Control
syntax:
  - call: !Binary [control, actionArray]
    ret:
      - Nothing
      - Nothing
    params:
      - name: control
        type: Control
        description: Web browser control to execute action on
      - name: actionArray
        type: ArrayUnknown
        description: |
          Array in format [actionType, actionData] where:
          - actionType (String): Type of action ("ExecJS", "LoadURL", "Reload", "Stop", etc.)
          - actionData (String): Data for the action (JavaScript code for ExecJS, URL for LoadURL, empty string for others)
argument_loc: Local
effect_loc: Local
since:
  arma_3:
    major: 2
    minor: 2
examples:
  - <sqf>_control ctrlWebBrowserAction ["ExecJS", "document.getElementById('test').innerHTML = 'Hello World!'"];</sqf>
  - <sqf>_control ctrlWebBrowserAction ["LoadURL", "https://community.bistudio.com"];</sqf>
