Seleniumbasis on a Windows 11 machine
Opened this issue · 10 comments
I have used on a windows 10 the seleniumbasic with VBA without problems.
I now want to move to Windows 11 and getting diferent Troubles with the seleniumBasic on an VM instance the Edge browser is opened but the wanted URL isn't passed thru to the browser under control.?
On a physical PC with W11 home edition even the browser isn't launched.
Are there known isueswhich i need to tackel to get it running as on W10?
Personally, I'm using Windows 11 on a physical machine and I haven't got any problems with Edge. Are you sure it's not a problem with the Edge driver?
Which seleniumBasis you use in this case ?
the right installed Edge driver was used. The browser is opened un the control of the driver but no URL is passed to the browser.
It looks like issue #282
Which seleniumBasis you use in this case ?
I use the latest version from 2016 (v2.0.9.0)
It looks like issue 282
Could be indeed. Have you tried to specify the URL in the Start method instead of the Get method?
ie.:
Driver.Start "edge", "https://google.com"
Driver.Get "/"
Thanks for your suggestion, but this isn't change the behavior
The function works perfectly under W10
url = any correct URL
Set driver = New Selenium.EdgeDriver '"Edge" as default 'start selenium and the new browser session
driver .Start '"Edge" as default 'start selenium and the new browser session
driver .Window.SetSize 1000, 800 'window size
driver.Get url
Hum, without more information, I'm affraid I can't help you, because it's working for me on Win11.
- Can you try a different browser to see if you have the same problem?
- What are the versions of .NET that you have on the Win11 machine?
I have implemented the users choice which browser they want to use edge or chrome but both with the same effect i also have tried Firefox but the same behavior.
The good working W10-PC has .Net V4.8.09032 and the same version is there on the W11 PC.
SeleniumBasic uses .NET 3.5.
Do you have .NET 3.5 enabled?
This configuration is the same as what I have for Win11. My last guess would be that it could be because VBScript is disabled on the Win11 machine, but I'm not sure if that matters when using the library in VBA.
Thanks for sharing your Idea's. I'm in the mean time out of ideas.
On the W11 machine i can run VBS so that's also not causing the issue