View Single Post
Old 10-31-2019, 11:19 AM   #1
RogerCooper
Newly Registered User
 
Join Date: Jul 2014
Posts: 164
Thanks: 5
Thanked 14 Times in 12 Posts
RogerCooper is on a distinguished road
Trouble Using Selenium from Access

I am trying to use Selenium to interact with websites. However, whenever I try to run I receive errors, with a different error for each browser. Is there something else I need to download?

My code
Code:
Function AutomationTest()
Dim bot As New WebDriver
bot.Start "firefox", "http://google.com"
End Function
My error messages are:

IE: Page opens briefly and the closes. No error message

Chrome: Page does not open. Receive error
SessionNotCreatedError
session not created exceptopm
from unknown error: Runtime.exceutionContextCreated has invalid 'context':
("auxData""frameId":2A8788729284AC9BDB8E7D1333A2 8DA1","isD <message was cutoff>
(Session info: chrome=78.0.3904.70)

Firefox: Blank page opens. Then the error:
Run-time error '21':
TimeoutError
Firefox failed to open the listening port 127.0.0.1:65504 within 15s

Edge: Page does not open. Receive error
Run-time error '21':
TimeoutError
The driver failed to open the listening port 127.0.0.1:49950 within 10s
Environment Windows X, Running VBA in Access 2013, Selenium v2.0.9.0
All the drivers have been updated

RogerCooper is offline   Reply With Quote
The Following User Says Thank You to RogerCooper For This Useful Post:
jocph (01-04-2020)