DebuggerClientSetScriptSourceAsync Method  | 
Version 104.4.240 
            Edits JavaScript source live.
            
 
    Namespace: 
   CefSharp.DevTools.Debugger
    Assembly:
   CefSharp (in CefSharp.dll) Version: 104.4.240.0 (104.4.240.0)
Syntaxpublic Task<SetScriptSourceResponse> SetScriptSourceAsync(
	string scriptId,
	string scriptSource,
	bool? dryRun = null
)
public:
Task<SetScriptSourceResponse^>^ SetScriptSourceAsync(
	String^ scriptId, 
	String^ scriptSource, 
	Nullable<bool> dryRun = nullptr
)
Parameters
- scriptId
 - Type: SystemString
Id of the script to edit. - scriptSource
 - Type: SystemString
New content of the script. - dryRun (Optional)
 - Type: SystemNullableBoolean
If true the change will not actually be applied. Dry run may be used to get resultdescription without actually modifying the code. 
Return Value
Type: 
TaskSetScriptSourceResponsereturns System.Threading.Tasks.Task<SetScriptSourceResponse>
See Also