Good morning all,
Excuse my language, I don't speak fluently.
I have a problem in my code. I connect to a site with webview2. I have to do an action after the page loads but I can't wait for it to load.
As a result, the action is done before loading and therefore does not work.
Could you tell me how to wait for my page to load after the connection click with this code:
Thank you !
Excuse my language, I don't speak fluently.
I have a problem in my code. I connect to a site with webview2. I have to do an action after the page loads but I can't wait for it to load.
As a result, the action is done before loading and therefore does not work.
Could you tell me how to wait for my page to load after the connection click with this code:
Code:
Dim name As String = Await WebView21.ExecuteScriptAsync("document.getElementsByClassName('btn btn-primary btn-block btn-large login-button')[0].click();")