(How does WebBrowser (Ph) recognize that a user has clicked an input box? Very simply, WebBrowser (Ph) has a function: InvokeScript, which allows developers to call a JavaScript in the webpage after the WebBrowser reads the webpage. The original idea is to allow developers to have an exchange channel when using NavigateToString and Navigate to read the native webpage.)