Method AddUserScript
AddUserScript(string, bool)
Injects the specified script into the webpage's content.
public virtual bool AddUserScript(string javaScript, bool injectDocStart = true)
Parameters
javaScriptstringThe JavaScript code to add.
injectDocStartboolSpecifies when the script will be executed.
Returns
Remarks
Please note that this is unsupported by the IE backend. The Edge backend does only support injecting at document start.