Testing with Javascript en Cypress but tests do not run when FF browser is selected, No error message #32255
Replies: 14 comments 3 replies
-
If you can download the |
Beta Was this translation helpful? Give feedback.
-
Woops, I thought I did . I will create a new topic. |
Beta Was this translation helpful? Give feedback.
-
An alternate way to install the npx geckodriver
After it has successfully downloaded you can kill the process (Ctrl-C). If the |
Beta Was this translation helpful? Give feedback.
-
I executed the npx geckodriver and did get the message'>
1755392707893 geckodriver INFO Listening on 127.0.0.1:4444' visible in de Terminal.
Unfortunately, the issue remains. Could it be I have certain add-ons and plug-ins installed on the FF I use?(just guessing)
Something 'blocks' FF
Mvg
Peter
…________________________________
Van: Mike McCready ***@***.***>
Verzonden: zaterdag 16 augustus 2025 17:38
Aan: cypress-io/cypress ***@***.***>
CC: PeterN1968 ***@***.***>; Mention ***@***.***>
Onderwerp: Re: [cypress-io/cypress] Testing with Javascript en Cypress but tests do not run when FF browser is selected, No error message (Discussion #32255)
@PeterN1968<https://github.com/PeterN1968>
An alternate way to install the geckodriver that also works on Windows 10 is to execute:
npx geckodriver
$ npx geckodriver
2025-08-16T15:29:38.513Z INFO geckodriver: Detected Geckodriver v0.36.0 to be latest
2025-08-16T15:29:38.563Z INFO geckodriver: Downloading Geckodriver from https://github.com/mozilla/geckodriver/releases/download/v0.36.0/geckodriver-v0.36.0-win64.zip
1755358179539 geckodriver INFO Listening on 127.0.0.1:4444
After it has successfully downloaded you can kill the process (Ctrl-C). If the geckodriver is already loaded, then it shows only the "INFO Listening" line. If the geckodriver is not loaded and there is a network issue, I found that I got an error message after waiting for about 2 minutes.
—
Reply to this email directly, view it on GitHub<#32255 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BBWZ5DQF6UOL3IUUBDXC5DD3N5F7FAVCNFSM6AAAAACD676W22VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMJSGY3TEOI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Also,
when checking what geckodriver via the terminal the following can be read in the terminal.
Starting: geckodriver --version
node:internal/modules/cjs/loader:1368
throw err;
^
Error: Cannot find module 'K:\PEXXXXXJK\VSSXXXX\VXXE XXXX XXXXXXXXXXXX\geckodriver'
at Function._resolveFilename (node:internal/modules/cjs/loader:1365:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1021:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1026:22)
at Function._load (node:internal/modules/cjs/loader:1175:37)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
at node:internal/main/run_main_module:36:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v22.18.0
…---------------------
In package.json ;
{
"devDependencies": {
***@***.***/cypress-drag-drop": "github:4teamwork/cypress-drag-drop",
***@***.***/cypress": "^10.0.3",
"cypress": "^14.5.4"
},
"dependencies": {
"geckodriver": "^5.0.0"
}
}
--------------------------------------
Mvg
Peter
________________________________
Van: Mike McCready ***@***.***>
Verzonden: Zaterdag, 16 Augustus, 2025 17:38
Aan: cypress-io/cypress ***@***.***>
CC: PeterN1968 ***@***.***>; Mention ***@***.***>
Onderwerp: Re: [cypress-io/cypress] Testing with Javascript en Cypress but tests do not run when FF browser is selected, No error message (Discussion #32255)
@PeterN1968<https://github.com/PeterN1968>
An alternate way to install the geckodriver that also works on Windows 10 is to execute:
npx geckodriver
$ npx geckodriver
2025-08-16T15:29:38.513Z INFO geckodriver: Detected Geckodriver v0.36.0 to be latest
2025-08-16T15:29:38.563Z INFO geckodriver: Downloading Geckodriver from https://github.com/mozilla/geckodriver/releases/download/v0.36.0/geckodriver-v0.36.0-win64.zip
1755358179539 geckodriver INFO Listening on 127.0.0.1:4444
After it has successfully downloaded you can kill the process (Ctrl-C). If the geckodriver is already loaded, then it shows only the "INFO Listening" line. If the geckodriver is not loaded and there is a network issue, I found that I got an error message after waiting for about 2 minutes.
—
Reply to this email directly, view it on GitHub<#32255 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BBWZ5DQF6UOL3IUUBDXC5DD3N5F7FAVCNFSM6AAAAACD676W22VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMJSGY3TEOI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
This is what comes back after npx geckodriver --version;
…-----
geckodriver 0.36.0 (a3d508507022 2025-02-24 15:57 +0000)
The source code of this program is available from
testing/geckodriver in https://hg.mozilla.org/mozilla-central.
This program is subject to the terms of the Mozilla Public License 2.0.
You can obtain a copy of the license at https://mozilla.org/MPL/2.0/.
------
It seems there IS a geckodriver installed , or not?? 🙁
Mvg
Peter
________________________________
Van: Mike McCready ***@***.***>
Verzonden: zondag 17 augustus 2025 10:43
Aan: cypress-io/cypress ***@***.***>
CC: PeterN1968 ***@***.***>; Mention ***@***.***>
Onderwerp: Re: [cypress-io/cypress] Testing with Javascript en Cypress but tests do not run when FF browser is selected, No error message (Discussion #32255)
@PeterN1968<https://github.com/PeterN1968>
Also, when checking what geckodriver via the terminal the following can be read in the terminal. Starting: geckodriver --version node:internal/modules/cjs/loader:1368 throw err; ^ Error: Cannot find module 'K:\PEXXXXXJK\VSSXXXX\VXXE XXXX XXXXXXXXXXXX\geckodriver' at Function._resolveFilename (node:internal/modules/cjs/loader:1365:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1021:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1026:22) at Function._load (node:internal/modules/cjs/loader:1175:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) at node:internal/main/run_main_module:36:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v22.18.0
It looks like you were using the wrong instruction to get the version of geckodriver. Perhaps you tried to run the incorrect command node geckodriver --version? According to https://github.com/webdriverio-community/node-geckodriver/blob/main/README.md#installing you would need to run:
npx geckodriver --version
to show the version installed.
—
Reply to this email directly, view it on GitHub<#32255 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BBWZ5DUFRCO34YBQ2DXZZZT3OA6EHAVCNFSM6AAAAACD676W22VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMJTGA4DGMY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
According to your log, you have the confirmation message that the following version is installed:
If you still have a problem to run Firefox with Cypress then it looks like a different cause.
In a previous post there was a hidden section which showed:
What is the meaning of You should remove the following, as it is already included with Cypress:
|
Beta Was this translation helpful? Give feedback.
-
i SHALL REMOVE ;
***@***.***/cypress": "^10.0.3" ( <- always felt this to be strange) and
"dependencies": "geckodriver": "^5.0.0"
Mvg
Peter
…________________________________
Van: Mike McCready ***@***.***>
Verzonden: Zondag, 17 Augustus, 2025 14:47
Aan: cypress-io/cypress ***@***.***>
CC: PeterN1968 ***@***.***>; Mention ***@***.***>
Onderwerp: Re: [cypress-io/cypress] Testing with Javascript en Cypress but tests do not run when FF browser is selected, No error message (Discussion #32255)
@PeterN1968<https://github.com/PeterN1968>
According to your log, you have the confirmation message that the following version is installed:
geckodriver 0.36.0 (a3d508507022 2025-02-24 15:57 +0000)
If you still have a problem to run Firefox with Cypress then it looks like a different cause.
* Which type of terminal window (Git Bash, command prompt or PowerShell) do you use to run Cypress?
* Which package manager are you using (npm, Yarn Classic, Yarn Modern or pnpm)?
* What command do you use to run Cypress?
In a previous post there was a hidden section which showed:
In package.json ;
{
"devDependencies": {
***@***.***/cypress-drag-drop": "github:4teamwork/cypress-drag-drop",
***@***.***/cypress": "^10.0.3",
"cypress": "^14.5.4"
},
"dependencies": {
"geckodriver": "^5.0.0"
}
}
What is the meaning of ***@***.***/cypress": "^10.0.3", ? That does not look right as it is an old and different version of Cypress. You should probably remove that.
You should remove the following, as it is already included with Cypress:
"dependencies": {
"geckodriver": "^5.0.0"
}
—
Reply to this email directly, view it on GitHub<#32255 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BBWZ5DTFAE7IBF75RXEUCBD3OB2XNAVCNFSM6AAAAACD676W22VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMJTGE4DGNY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
*
Which type of terminal window (Git Bash, command prompt or PowerShell) do you use to run Cypress? Powershell
* Which package manager are you using (npm, Yarn Classic, Yarn Modern or pnpm)? NPM
* What command do you use to run Cypress? NPX Cypress open (if I use 'run' nothjing 'opens' but in the terminal I can see it runs the spec tests
Mvg
Peter
…________________________________
Van: Mike McCready ***@***.***>
Verzonden: zondag 17 augustus 2025 14:47
Aan: cypress-io/cypress ***@***.***>
CC: PeterN1968 ***@***.***>; Mention ***@***.***>
Onderwerp: Re: [cypress-io/cypress] Testing with Javascript en Cypress but tests do not run when FF browser is selected, No error message (Discussion #32255)
@PeterN1968<https://github.com/PeterN1968>
According to your log, you have the confirmation message that the following version is installed:
geckodriver 0.36.0 (a3d508507022 2025-02-24 15:57 +0000)
If you still have a problem to run Firefox with Cypress then it looks like a different cause.
* Which type of terminal window (Git Bash, command prompt or PowerShell) do you use to run Cypress?
* Which package manager are you using (npm, Yarn Classic, Yarn Modern or pnpm)?
* What command do you use to run Cypress?
In a previous post there was a hidden section which showed:
In package.json ;
{
"devDependencies": {
***@***.***/cypress-drag-drop": "github:4teamwork/cypress-drag-drop",
***@***.***/cypress": "^10.0.3",
"cypress": "^14.5.4"
},
"dependencies": {
"geckodriver": "^5.0.0"
}
}
What is the meaning of ***@***.***/cypress": "^10.0.3", ? That does not look right as it is an old and different version of Cypress. You should probably remove that.
You should remove the following, as it is already included with Cypress:
"dependencies": {
"geckodriver": "^5.0.0"
}
—
Reply to this email directly, view it on GitHub<#32255 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BBWZ5DTFAE7IBF75RXEUCBD3OB2XNAVCNFSM6AAAAACD676W22VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMJTGE4DGNY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
It seems I also have 2 package.jsons'!!
see attachments, one was (deleted the lines to be removed) ;
{ "devDependencies": { ***@***.***/cypress-drag-drop": "github:4teamwork/cypress-drag-drop", ***@***.***/cypress": "^10.0.3", "cypress": "^14.5.4" }, "dependencies": { "geckodriver": "^5.0.0" } }
and the other package.json has a lot of 'node' information, and also the mentioning of Cypress 10 !!
Mvg
Peter
…________________________________
Van: Mike McCready ***@***.***>
Verzonden: Zondag, 17 Augustus, 2025 14:47
Aan: cypress-io/cypress ***@***.***>
CC: PeterN1968 ***@***.***>; Mention ***@***.***>
Onderwerp: Re: [cypress-io/cypress] Testing with Javascript en Cypress but tests do not run when FF browser is selected, No error message (Discussion #32255)
@PeterN1968<https://github.com/PeterN1968>
According to your log, you have the confirmation message that the following version is installed:
geckodriver 0.36.0 (a3d508507022 2025-02-24 15:57 +0000)
If you still have a problem to run Firefox with Cypress then it looks like a different cause.
* Which type of terminal window (Git Bash, command prompt or PowerShell) do you use to run Cypress?
* Which package manager are you using (npm, Yarn Classic, Yarn Modern or pnpm)?
* What command do you use to run Cypress?
In a previous post there was a hidden section which showed:
In package.json ;
{
"devDependencies": {
***@***.***/cypress-drag-drop": "github:4teamwork/cypress-drag-drop",
***@***.***/cypress": "^10.0.3",
"cypress": "^14.5.4"
},
"dependencies": {
"geckodriver": "^5.0.0"
}
}
What is the meaning of ***@***.***/cypress": "^10.0.3", ? That does not look right as it is an old and different version of Cypress. You should probably remove that.
You should remove the following, as it is already included with Cypress:
"dependencies": {
"geckodriver": "^5.0.0"
}
—
Reply to this email directly, view it on GitHub<#32255 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BBWZ5DTFAE7IBF75RXEUCBD3OB2XNAVCNFSM6AAAAACD676W22VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMJTGE4DGNY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
If you use the e-mail interface to reply, then no attachments are added and text may be sanitized so that information is missing. You will probably need to use the browser interface instead of e-mail to post complete information. I'm not sure what you mean when you say you have 2 You could also create a separate clean new project to test with, which only includes a single default spec and only uses Cypress without any other dependencies. See https://docs.cypress.io/app/end-to-end-testing/writing-your-first-end-to-end-test You can try the following troubleshooting steps in PowerShell on Windows 10 to Print DEBUG Logs into the PowerShell terminal window: $env:DEBUG='cypress:server:browsers:firefox'
npx cypress open If Firefox is not starting, then there may be some information in the debug logs to help. |
Beta Was this translation helpful? Give feedback.
-
Thank for you updating your post! To make logs more readable you should use GitHub Markdown fenced code syntax like this:
Switching on logs was not expected to solve any problem, only to give more information, and what I see in your logs looks very much similar to the logs I found on a system not connected to Internet. See the issue #32205 you already know about. So I don't know the reason for this as you already showed that you were able to download the Are you connected to a corporate network, or a proxy server or do you have any special network settings? The screenshot where you mention a |
Beta Was this translation helpful? Give feedback.
-
The previous DEBUG settings: $env:DEBUG='cypress:server:browsers:firefox'
npx cypress open showed the process hanging without outputting much useful information. You can get more detailed debug logs using the following instead; $env:DEBUG='cypress:*,cypress-verbose:server:browsers:geckodriver,cypress-verbose:server:browsers:webdriver,-cypress:server:util:process_profiler'
npx cypress open Again, this will not fix anything. It just gives more debug information that might help to diagnose the reason behind the problem. |
Beta Was this translation helpful? Give feedback.
-
Ok.
Mvg
Peter
…________________________________
Van: Mike McCready ***@***.***>
Verzonden: dinsdag 19 augustus 2025 08:22
Aan: cypress-io/cypress ***@***.***>
CC: PeterN1968 ***@***.***>; Mention ***@***.***>
Onderwerp: Re: [cypress-io/cypress] Testing with Javascript en Cypress but tests do not run when FF browser is selected, No error message (Discussion #32255)
@PeterN1968<https://github.com/PeterN1968>
The previous DEBUG settings:
$env:DEBUG='cypress:server:browsers:firefox'
npx cypress open
showed the process hanging without outputting much useful information. You can get more detailed debug logs using the following instead;
$env:DEBUG='cypress:*,cypress-verbose:server:browsers:geckodriver,cypress-verbose:server:browsers:webdriver,-cypress:server:util:process_profiler'
npx cypress open
Again, this will not fix anything. It just gives more debug information that might help to diagnose the reason behind the problem.
—
Reply to this email directly, view it on GitHub<#32255 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BBWZ5DVFWEIQFMRE2ZQBHDT3OK7A7AVCNFSM6AAAAACD676W22VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMJUHE2DONI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,

I am running scripts (Javascript, VSCode, for automated software testing(websites).
Testing with Javascript en Cypress but tests do not run when FF browser is selected, No error message.. In %temp% there is no geckodriver.exe. The Cypress window just keeps showing a spinner and nothing happens, the test does not load and run on FF browser. The other browsers available to use(Chrome/Edge/Electron) can be selected and Cypress runs the tests with no problem or issue. It seems a geckodriver needs to be installed but how and where is not clear to me.
Does anyone know how to get Cypress to run the test on the FF browser?
Cypress Version 14.5.4,
Node version v22.18.0 LTS,
Windows 10 Pro.
FF 141.0.3
Perhaps any Cypress+FF ninja testers here as well that could help me to get this solved?
Beta Was this translation helpful? Give feedback.
All reactions