DOM.setFileInputFiles

Sets files for the given file input element.

{
  "name": "setFileInputFiles",
  "parameters": [
    {
      "name": "files",
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Array of file paths to set."
    },
    {
      "name": "nodeId",
      "$ref": "NodeId",
      "optional": true,
      "description": "Identifier of the node."
    },
    {
      "name": "backendNodeId",
      "$ref": "BackendNodeId",
      "optional": true,
      "description": "Identifier of the backend node."
    },
    {
      "name": "objectId",
      "$ref": "Runtime.RemoteObjectId",
      "optional": true,
      "description": "JavaScript object id of the node wrapper."
    }
  ],
  "description": "Sets files for the given file input element."
}