I have a code and I want it to wait somewhere in the middle before going forward. After the WebBrowser1.Document.Window.DomWindow.execscript(\"checkPasswordConfirm();\",\"JavaSc
In web application a timer will be the best approach.
Just fyi, in desktop application I use this instead, inside an async method.
...
Await Task.Run(Sub()
System.Threading.Thread.Sleep(5000)
End Sub)
...
It work for me, importantly it doesn't freeze entire screen. But again this is on desktop, i try in web application it does freeze.