SeleniumBasic
SeleniumBasic copied to clipboard
using interface when the code is running
hello
i have a problem
i use vb6 and SeleniumBasic
the problem is when i use any code like drv.get "https://github.com/"
i can't use the program interface or even control in it until the page load or the code is finish
any help ?
SeleniumBasic is synchronous so you can't load pages asynchronously. You would need to use some other implementation of Selenium like C# and use async/await.
thank you mogulman52
so there is no way ?
i saw in .net they run the code as a service to hide cmd and make the program stable
i can do it in vb6 ? or not ?
Are you doing this in VB6? Since VB6 no longer exists I thought you meant VBA (i.e. Excel VBA). I haven't used VB6 in 10 years so I can't answer your question. I'm don't understand the comment 'i saw in .net they run the code as a service to hide cmd and make the program stable'. I just don't see a way to do it. SeleniumBasic is synchronous.
What exactly are you trying to do? You need to wait for the page to load before looking for elements.
thank you again for reply i use vb6 not VBA yes what i need is make the program stable when i use SeleniumBasic
I actually tried to install my old disk of VB6 on Windows 10 to see if I could get SeleniumBasic to work with it. VB6 wouldn't install. My only suggestion is to use Excel and VBA.
You could also try and see if this would work under VB6 for you: http://htejera.users.sourceforge.net/vbswebdriver/.
thank you mogulman52 ♥
thank for replying daluu
but it's not support chrome
any help please ?