Well, sorry to rain on your parade, but you can’t.
In X thunkable, there is no way for a webview component to talk back to the rest of the program; the component is missing the “WebViewString” that allows the passing of information back and forth that exists in Classic Thunkable.