How to fill out a form of a webpage and click a button using some JavaScript

How to fill out a form of a webpage and click a button using some JavaScript.

This was possible in classic. wherein webviewer1.goToUrl: javascript:(function() {…}
worked.

Can this be done in Thunkable X Webviewer?
So that I can auto Login to my website, from App?

A post was merged into an existing topic: Using Javascript in webviewer?