I ran a test running the command in the google chrome console and returned the input value typed. How do I pass this value to a string?
I used this command in google chrome
Code: Select all
document.getElementById("login-email").value
Code: Select all
var S: String
emailLogin:= chromium1.Browser.MainFrame.ExecuteJavaScript('document.getElementById("email").value;','about:blank', 0);
uMiniBrowser.pas(4804): E2010 Incompatible types: 'string' and 'procedure, untyped pointer or untyped parameter'