RogerCooper
Registered User.
- Local time
- Today, 16:37
- Joined
- Jul 30, 2014
- Messages
- 384
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
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":2A8788729284AC9BDB8E7D1333A28DA1","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
My code
Code:
Function AutomationTest()
Dim bot As New WebDriver
bot.Start "firefox", "[URL]http://google.com[/URL]"
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":2A8788729284AC9BDB8E7D1333A28DA1","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