Allows you to replace the HTML code.
Example
Running this code will set the variable "#htmlCode" to the following:
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
Then after, it will load as an HTML in the UBot browser.
Running this code will set another variable named "#htmlCodeOut" that will replace the HTML code with the following properties:
- XPath: //p
- Select Option: Single Node
- Replace Position: All
- Replace Code: <h1>Hello World</h1>
Then after, it will load as an HTML in the UBot browser.
set(#htmlCode,"<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>","Global")
load html(#htmlCode)
set(#htmlCodeOut,$plugin function("Data and Files Automation.dll", "$html replace", #htmlCode, "//p", "Single Node", "All", "<h1>Hello World</h1>"),"Global")
load html(#htmlCodeOut)