florentbr / SeleniumBasic

A Selenium based browser automation framework for VB.Net, VBA and VBScript
BSD 3-Clause "New" or "Revised" License
421 stars 197 forks source link

How to Use Edge with SeleniumBasic #126

Open mogulman52 opened 8 years ago

mogulman52 commented 8 years ago

Just thought I would provide some info how to use Edge. SeleniumBasic comes with an Edge driver. The Edge driver is Windows version dependent. You need to determine your Windows 10 version ( Start > Settings > System > About) and go to the Microsoft Webdriver Site. In my case it was 10586. Install driver. Copy driver from install location "C:\Program Files\Microsoft Web Driver\MicrosoftWebDriver.exe" and put it here "C:\Users\AppData\Local\SeleniumBasic\edgedriver.exe". Rename old driver first. It seems to work fine. I did need to add wait times for some steps.

RIF-GA commented 7 years ago

Tried the above, but doesn't work for me. Can anyone help? I have Edge 14393. I've downloaded the 14393 MicrosoftWebDriver. My installation of SeleniumBasic has the drivers here: C:\Program Files\SeleniumBasic\ I copied MicrosoftWebDriver.exe to C:\Program Files\SeleniumBasic\edgedriver.exe

mogulman52 commented 7 years ago

I have the same version (14393) and I just tried it and it works fine. My installation of SeleniumBasic is at C:\Users\"user"\AppData\Local\SeleniumBasic\edgedriver.exe. Not sure if that makes a difference. I checked the properties details tab and it is 14393.

RIF-GA commented 7 years ago

Thank you for your quick response! It is good to know Edge 14393 can/will work. I think it is some overall problem. I cannot get Firefox 46.0.1 to work either on this new Windows 10 install. It works fine on Windows 7. I'll keep at it.

mogulman52 commented 7 years ago

Firefox 46.0.1 works fine on my Windows 10. Make sure you turned off automatic updates. It could have upgraded without you realizing it.

RIF-GA commented 7 years ago

Yay! I got both Edge 14393 to work and Firefox. I just reinstalled Firefox, turned off auto update right away, and reinstalled SeleniumBasic. Thank you so much for your help.