Click or drag to resize

DOMClientSetFileInputFilesAsync Method

Version 130.1.90
Sets files for the given file input element.

Namespace: CefSharp.DevTools.DOM
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public Task<DevToolsMethodResponse> SetFileInputFilesAsync(
	string[] files,
	int? nodeId = null,
	int? backendNodeId = null,
	string objectId = null
)

Parameters

files  String
Array of file paths to set.
nodeId  NullableInt32  (Optional)
Identifier of the node.
backendNodeId  NullableInt32  (Optional)
Identifier of the backend node.
objectId  String  (Optional)
JavaScript object id of the node wrapper.

Return Value

TaskDevToolsMethodResponse
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also