Video does not start with geckodriver
I am working with automated tests and I am trying to set up a selenium grid to run tests in multiple environments.
I have run tests successfully with chrome driver on Mac OS X 10.11 and Windows10.
Right now, when I try to run a test function, on the video element page and in the following posts on firefox (geckodriver):
Firefox is installing components needed to play audio or video, please try again later
and the video does not start.
I am running selenium offline on both a hub (Mac OS X) and a Node (Windows 10) selenium grid.
I tried to create a profile and import it in the config node (windowsNodeConfig.json):
{
"capabilities": [
(...)
{
"browserName": "firefox",
"maxInstances": 5,
"platform": "WINDOWS",
"marionette": true,
"acceptInsecureCerts": true,
"webdriver.gecko.driver": "geckodriver.exe",
"firefox_profile": "firefoxProfile"
}
(...)
],
"nodeTimeout": 180000,
"browserTimeout": 180,
"timeout": 180,
"newSessionWaitTimeout": 180,
"cleanUpCycle": 5000,
"firefoxProfileTemplate": "firefoxProfile"
}
Version: Selenium Standalone: 3.4.0
Geckodriver: 0.16.1
Firefox (Windows): 53.0.3
I run node like this:
$ java -jar selenium-server-standalone-3.4.0.jar -role node -nodeConfig windowsNodeConfig.json -hub http://<IP_ADDRESS>:4444
Start the hub as follows:
$ java -jar selenium-hub/selenium-server-standalone-3.4.0.jar -role hub
The created firefox profile has the site extender extender addon installed . However, in the node logs I see the following line:
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
The same test functions are performed in chrome.
I created a firefox profile as described in: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles#w_creating-a-profile
Am I missing any configuration?
source to share
No one has answered this question yet
Check out similar questions: