I am debugging a webpage inside Unity that gets printed to a console. How do I copy the debug message into a string?
public string message; //print to this string
void SomeFunction(){
web.ExecuteJavaScript ("document.querySelector('iframe')).click();", s => Debug.Log (s));
}