florentbr / SeleniumBasic

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

Issue With Firefox Driver #113

Open mogulman52 opened 8 years ago

mogulman52 commented 8 years ago

I get the following message when using the Firefox driver.
webRequestError The underlying connection was closed: An unexpected error occurred on a receive

I am using this example program in Excel Private Sub Use_Firefox() Dim driver As New FirefoxDriver driver.Get "https://www.google.co.uk" driver.Quit End Sub

The browser opens at the driver.Get line but the website doesn't open. It was working and stopped this week. BTW Chrome and IE work. I am sure but it appears the server that connects to Firefox doesn't run. I've uninstalled/installed Firefox. I reinstalled SeleniumBasic. I've rebooted PC numerous times. I've repaired Office.

Anyone have any ideas on what to try?

Using Win 10 and Excel 2010.

mogulman52 commented 8 years ago

I tracked down the problem. Firefox v47.0 released June 7 is causing the problem. I reverted to 46.0.1 and everything works. I don't know if SeleniumBasic uses it but in the notes: FUEL (Firefox User Extension Library) has been removed. Add-ons relying on it will stop working.

Can version 47 be supported? I like to stay on the latest version and I prefer Firefox over Chrome. I just know Firefox's Firebug and Firepath better.

mark-hurley commented 8 years ago

The cause of this issue is documented here https://github.com/SeleniumHQ/selenium/issues/2110 It looks likely that the mozilla changes re extension-signing and marionette may require an update to SeleniumBasic.

mogulman52 commented 8 years ago

Thanks for the info. Glad to see it is not a SeleniumBasic only issue. Hard to believe this slipped through Firefox's QC cycle. I have it working now with the prior version but am getting Firefox's nag message to update all the time.

mogulman52 commented 8 years ago

I just tried Firefox 48.0 and the problem isn't fixed. Does SeleniumBasic need to be updated?