Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Testing with Javascript en Cypress but tests do not run when FF browser is selected, No error message#32255

Discussion options

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?
FF OPENT NIET OM TE TESTEN Schermafbeelding 2025-08-12 162440

You must be logged in to vote

Sir McCready, after 2 days of trying everything out(chatting with the Gitbot and executing all its suggestion commands, deleting commands, adding commands, deleting and adding git chatbot suggestions lines in e2e),Trying out all Firefox configurations (save mode, develop mode etc), after entering all error messages I got after executing the Git Chatbot suggestions......After 2 days.....it came up with ; Try starting VS Code in admin mode.......Stupid AI!!!!!!!, when VSCode runs in admin mode I can select FF and run tests in it....G#DD^mn it!!!!!!!!!!!!!
Ok, so this is 'fixed' after all those weeks with my sincere thanks to you sir, for investing all this time in the issue. Thank you so mu…

Replies: 19 comments 22 replies

Comment options

@PeterN1968

If you can download thegeckodriver fromhttps://github.com/mozilla/geckodriver/releases/download/v0.36.0/geckodriver-v0.36.0-win64.zip, then unzip the containedgeckodriver.exe to your%TEMP% directory, you may find that that works.

You must be logged in to vote
0 replies
Comment options

Woops, I thought I did . I will create a new topic.

You must be logged in to vote
1 reply
@MikeMcC399
Comment options

@PeterN1968

Woops, I thought I did . I will create a new topic.

Unfortunately you have now created a duplicate discussion in#32261 not a new issue. A new issue would be created by clicking on Issues, not Discussions.

image

I suggest not to try to create any new issue at this point in time. Instead follow the recommendation to manually install geckodriver and report back the results. If it is successful then we can stop there. If not, then we can do further troubleshooting steps in this discussion item.

Comment options

@PeterN1968

An alternate way to install thegeckodriver that also works on Windows 10 is to execute:

npx geckodriver
$ npx geckodriver2025-08-16T15:29:38.513Z INFO geckodriver: Detected Geckodriver v0.36.0 to be latest2025-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.zip1755358179539   geckodriver     INFO    Listening on 127.0.0.1:4444

After it has successfully downloaded you can kill the process (Ctrl-C). If thegeckodriver is already loaded, then it shows only the "INFO Listening" line. If thegeckodriver is not loaded and there is a network issue, I found that I got an error message after waiting for about 2 minutes.

You must be logged in to vote
0 replies
Comment options

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​ MvgPeter
________________________________Van: Mike McCready ***@***.***>Verzonden: zaterdag 16 augustus 2025 17:38Aan: 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 geckodriver2025-08-16T15:29:38.513Z INFO geckodriver: Detected Geckodriver v0.36.0 to be latest2025-08-16T15:29:38.563Z INFO geckodriver: Downloading Geckodriver fromhttps://github.com/mozilla/geckodriver/releases/download/v0.36.0/geckodriver-v0.36.0-win64.zip1755358179539 geckodriver INFO Listening on 127.0.0.1:4444After 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: ***@***.***>
You must be logged in to vote
0 replies
Comment options

Also,when checking what geckodriver via the terminal the following can be read in the terminal.Starting: geckodriver --versionnode: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" }}--------------------------------------​ MvgPeter
________________________________Van: Mike McCready ***@***.***>Verzonden: Zaterdag, 16 Augustus, 2025 17:38Aan: 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 geckodriver2025-08-16T15:29:38.513Z INFO geckodriver: Detected Geckodriver v0.36.0 to be latest2025-08-16T15:29:38.563Z INFO geckodriver: Downloading Geckodriver fromhttps://github.com/mozilla/geckodriver/releases/download/v0.36.0/geckodriver-v0.36.0-win64.zip1755358179539 geckodriver INFO Listening on 127.0.0.1:4444After 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: ***@***.***>
You must be logged in to vote
1 reply
@MikeMcC399
Comment options

@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 ofgeckodriver. Perhaps you tried to run the incorrect commandnode geckodriver --version? According tohttps://github.com/webdriverio-community/node-geckodriver/blob/main/README.md#installing you would need to run:

npx geckodriver --version

to show the version installed.

Comment options

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 fromtesting/geckodriver inhttps://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 athttps://mozilla.org/MPL/2.0/.------It seems there IS a geckodriver installed , or not?? 🙁​ MvgPeter
________________________________Van: Mike McCready ***@***.***>Verzonden: zondag 17 augustus 2025 10:43Aan: 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.0It 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 tohttps://github.com/webdriverio-community/node-geckodriver/blob/main/README.md#installing you would need to run:npx geckodriver --versionto 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: ***@***.***>
You must be logged in to vote
0 replies
Comment options

@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"
}

You must be logged in to vote
0 replies
Comment options

i SHALL REMOVE ;***@***.***/cypress": "^10.0.3" ( <- always felt this to be strange) and"dependencies": "geckodriver": "^5.0.0"​ MvgPeter
________________________________Van: Mike McCready ***@***.***>Verzonden: Zondag, 17 Augustus, 2025 14:47Aan: 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: ***@***.***>
You must be logged in to vote
0 replies
Comment options

*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​ MvgPeter
________________________________Van: Mike McCready ***@***.***>Verzonden: zondag 17 augustus 2025 14:47Aan: 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: ***@***.***>
You must be logged in to vote
0 replies
Comment options

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 !!​ MvgPeter
________________________________Van: Mike McCready ***@***.***>Verzonden: Zondag, 17 Augustus, 2025 14:47Aan: 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: ***@***.***>
You must be logged in to vote
1 reply
@PeterN1968
Comment options

Ah OK, I'll post it again here with attachments.

Btw, the '$env:DEBUG='cypress:server:browsers:firefox'
npx cypress open' , did not solve the issue. In the terminal I can read;

'PS K:\PERSOONLIJK\VSSTUDIO TESTSCRIPTS\VSCODE CYPRESS TESTS PETER NAUTS 23-07-2025> $env:DEBUG='cypress:server:browsers:firefox'

npx cypress open

DevTools listening on ws://127.0.0.1:59508/devtools/browser/8b66208d-8cae-47e6-a6fb-6e04dc597109
cypress:server:browsers:firefox firefox open { browser: { name: 'firefox', family: 'firefox', channel: 'stable', displayName: 'Firefox', version: '141.0.3', path: 'C:\Program Files\Mozilla Firefox\firefox.exe', majorVersion: '141', isHeaded: true, isHeadless: false }, url: 'http://localhost:59554/__/', browsers: [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '139.0.7258.128', path: 'C:\Program Files\Google\Chrome\Application\chrome.exe', majorVersion: '139' }, { name: 'firefox', family: 'firefox', channel: 'stable', displayName: 'Firefox', version: '141.0.3', path: 'C:\Program Files\Mozilla Firefox\firefox.exe', majorVersion: '141' }, { name: 'edge', family: 'chromium', channel: 'stable', displayName: 'Edge', version: '139.0.3405.102', path: 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe', majorVersion: '139' }, { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '130.0.6723.137', path: '', majorVersion: 130 } ], userAgent: null, proxyUrl: 'http://localhost:59554', proxyServer: 'http://localhost:59554', socketIoRoute: '/__socket', chromeWebSecurity: true, isTextTerminal: false, downloadsFolder: 'K:\PERSOONLIJK\VSSTUDIO TESTSCRIPTS\VSCODE CYPRESS TESTS PETER NAUTS 23-07-2025\cypress\downloads', experimentalModifyObstructiveThirdPartyCode: false, experimentalWebKitSupport: false, shouldLaunchNewTab: false, onBrowserClose: [Function (anonymous)], onError: [Function: onError], relaunchBrowser: [AsyncFunction (anonymous)], onBrowserOpen: [Function: onBrowserOpen] } +0ms
cypress:server:browsers:firefox available ports: { marionettePort: 59569, webDriverBiDiPort: 59570 } +9ms
cypress:server:browsers:firefox firefox directories { path: 'C:\Users\Peter\AppData\Roaming\Cypress\cy\production\browsers\firefox-stable\interactive', cacheDir: 'C:\Users\Peter\AppData\Roaming\Cypress\cy\production\browsers\firefox-stable\interactive\CypressCache', extensionDest: 'C:\Users\Peter\AppData\Roaming\Cypress\cy\production\browsers\firefox-stable\interactive\CypressExtension' } +181ms
cypress:server:browsers:firefox launching geckodriver with browser envs { MOZ_REMOTE_SETTINGS_DEVTOOLS: '1', MOZ_HEADLESS_WIDTH: '1280', MOZ_HEADLESS_HEIGHT: '720' } +6ms
cypress:server:browsers:firefox launch in firefox {
url: 'http://localhost:59554/__/',
'-new-instance',
'-start-debugger-server',
'-no-remote',
'-foreground'
]
} +0ms


It seems I also have 2 package.jsons'!!

see attachments, one is, (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 !!

2 package jsons Schermafbeelding a 2025-08-18 125033
2 package jsons Schermafbeelding b  2025-08-18 125033

Comment options

@PeterN1968

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 2package.json files. It's possible to have multiplepackage.json files in different directories / projects. You will need to make sure that you are using the right one and the right project.

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. Seehttps://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 toPrint 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.

You must be logged in to vote
0 replies
Comment options

@PeterN1968

Thank for you updating your post! To make logs more readable you should useGitHub Markdown fenced code syntax like this:

```textyour logs```

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 thegeckodriver.exe file.

Are you connected to a corporate network, or a proxy server or do you have any special network settings?

The screenshot where you mention apackage.json showing Cypress 10 and lots of node information is notpackage.json, it'spackage-lock.json. It does not look like this file serves any purpose in the lower level location and you can probably delete it. (I'm not suggesting to delete the top-levelpackage-lock.json though.)

You must be logged in to vote
0 replies
Comment options

@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.

You must be logged in to vote
0 replies
Comment options

Ok.​ MvgPeter
________________________________Van: Mike McCready ***@***.***>Verzonden: dinsdag 19 augustus 2025 08:22Aan: 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 openshowed 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 openAgain, 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: ***@***.***>
You must be logged in to vote
0 replies
Comment options

@PeterN1968

Is it working now, or did you stop trying?

You must be logged in to vote
1 reply
@PeterN1968
Comment options

Schermafbeelding 2025-08-31 134347
I do not know what happened, VSCode got updated, Cypress update , and now nothing works. I do not see any testbranch , corner left of VSCode.....

Schermafbeelding 2025-08-31 133806

Comment options

@PeterN1968

In your situation I would go back to using Cypress 14 until at least@testing-library/cypress supports Cypress 15. Seetesting-library/cypress-testing-library#282

You should be seeing an error when you try to install dependencies.

This isn't related to your Firefox issue though.

You must be logged in to vote
10 replies
@MikeMcC399
Comment options

@PeterN1968

Large log files are not easy to handle if they are just pasted in to a comment as text. You could copy the log text into a file locally, use Windows' Compress to ZIP file (should be available in right-click context menu) and upload the file as an attachment to GitHub. I can compare it with running the same test on my own Windows system and see if there are differences that might point to your issue.

@PeterN1968
Comment options

Ah ok, I did not know nthat was possible. Should I run that debug again and upload it as a (compacted)zip file?

@MikeMcC399
Comment options

@PeterN1968

Should I run that debug again and upload it as a (compacted)zip file?

That was my suggestion. If you do that, I will look at the log file, however I can't promise that I will be able to find the reason for your issue or be able to suggest a resolution.

@PeterN1968
Comment options

CYPRESS VSCODE DEBUG RUN 02-09-2025.zip

@MikeMcC399
Comment options

@PeterN1968

When I compare logs, mine are much longer, and they do not have the following section, which looks to me like the webdriver is crashing:

    at FetchRequest._request (file:///C:/Users/Peter/AppData/Local/Cypress/Cache/15.0.0/Cypress/resources/app/packages/server/node_modules/webdriver/build/node.js:1881:19)    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)    at async startWebDriverSession (file:///C:/Users/Peter/AppData/Local/Cypress/Cache/15.0.0/Cypress/resources/app/packages/server/node_modules/webdriver/build/node.js:1177:16)    at async _WebDriver.newSession (file:///C:/Users/Peter/AppData/Local/Cypress/Cache/15.0.0/Cypress/resources/app/packages/server/node_modules/webdriver/build/node.js:1415:41)    at async Object.J (<embedded>:2521:12363)    at async Object.open (<embedded>:2521:29128)    at async v.relaunchBrowser (<embedded>:2579:45099)    at async Object.launchProject (<embedded>:2579:50964)    at async x.launchProject (<embedded>:2160:24865)    at async resolve (<embedded>:2303:47508)    at async <embedded>:829:937335  cypress:cli child event fired { event: 'exit', code: 3489660927, signal: null } +5m  cypress:cli child event fired { event: 'close', code: 3489660927, signal: null } +2ms

In the background, alongside looking at your issue, I did actually contribute to thenode-geckodriver development, and this triggered the release of a new version with many other updates in it. At the moment this can't be integrated into Cypress because thewebdriver people need to update their dependencies first. I don't really know how long that will take and they didn't respond at all last week. It could be that an update might fix your issue, but that is uncertain and the timing is also uncertain.

I can't really give you much good advice at the moment I'm afraid. If you have have the possibility to do your Firefox tests on a Linux system you might have better luck.

I'm going to have to stop here unfortunately. If I hear of any useful tips, I'll update this thread.

Comment options

@PeterN1968
There are new versions ofcypress@15.1.0 and@testing-library/cypress@10.1.0 released. I don't expect this to change your Firefox issue though. The testing library is updated so it doesn't show an error when installing together with Cypress 15.

You must be logged in to vote
5 replies
@PeterN1968
Comment options

Sir McCready, after 2 days of trying everything out(chatting with the Gitbot and executing all its suggestion commands, deleting commands, adding commands, deleting and adding git chatbot suggestions lines in e2e),Trying out all Firefox configurations (save mode, develop mode etc), after entering all error messages I got after executing the Git Chatbot suggestions......After 2 days.....it came up with ; Try starting VS Code in admin mode.......Stupid AI!!!!!!!, when VSCode runs in admin mode I can select FF and run tests in it....G#DD^mn it!!!!!!!!!!!!!
Ok, so this is 'fixed' after all those weeks with my sincere thanks to you sir, for investing all this time in the issue. Thank you so much so much.

Only in Cypress 15.1.0 a lot of commands do not work that DID work in f.e. 10.0.0 (ie Drag and drop/find by text/move/)

Do you perhaps know what Cypress version has the most commands still in it???? And if needed, when I install additional commands/plugins, maybe I can address my questions to you? Or just ask them in the general discussions section here?

Should I leave this query open, in case someone has a solution to use FF as testbrowser without starting VSCode in admin mode??

kr

Answer selected byPeterN1968
@MikeMcC399
Comment options

It's good to hear that you found a way to run Cypress with Firefox!

It sounds like you have different permissions on your system compared to mine. When I checked using a PowerShell terminal opened in regular VS Code I could run Firefox without having admin privileges. For your case, where it didn't work, if it was only a permissions issue, I would have expected to get a clearer error message instead of the apparent stack trace that you posted from your logs.

So there may still be an issue with Cypress orwebdriver etc. To follow that one up would need a simple reproducible example, and judging by the previous steps that would probably be too difficult to attempt at this time. If another user hits the same issue, that may be an opportunity to get the Cypress.io development team involved.

Since you've found a solution yourself, you can mark your own post as answer. That doesn't prevent anyone else adding their comments to this thread.


For your other questions, it doesn't sound like I can answer them for you. You could ask other users in a new thread here in Discussions or use theCypress community chat on Discord. There is no guarantee you will get an answer in either place, however there are a lot more users active in Discord.

For documentation, theChangelog andMigration Guide are good places to understand differences between releases.

If you want help about things which do not work, then you will get the best help if you describe exactly what you did, what you expected to happen and what actually happened. Also if you can provide the simplest example, that is also helpful. Try to keep one thread focussed on one topic for clarity.

You can also try to get your answers from AI, since you already have experience with this, although you need to be careful about believing everything that AI tells you!

Good luck with your Firefox testing! 🙂

@PeterN1968
Comment options

Cypress Community on Discord 'banned' me, I got the response that it is a paid service now :( .
I will mark my post as answer. Thank you again, sir.

@MikeMcC399
Comment options

@PeterN1968

Cypress Community on Discord 'banned' me, I got the response that it is a paid service now :( .

That is not a normal experience, as the Cypress Community on Discord is intended to be a free-of-charge service, and users are joining there on a regular basis without any payment.

@MikeMcC399
Comment options

https://discord.com/invite/cypress should lead to the following screen:

image
Comment options

They blocked me!!
afbeelding
afbeelding

You must be logged in to vote
0 replies
Comment options

afbeelding
You must be logged in to vote
3 replies
@MikeMcC399
Comment options

@PeterN1968

The Discord user "Peter Nauts" was banned from the Cypress Community according to your screenshot on Aug 11, 2025. If you are banned you cannot rejoin the community.

I will ask the manager for the Discord Cypress Community next week to review the status of your Discord user. The userMEE6 is just an automation bot, it's not a person, and it doesn't reply to messages like the ones you sent asking for explanation.

@PeterN1968
Comment options

OK, I am curious why I was banned. 'Unspecified' is lame.

@MikeMcC399
Comment options

@PeterN1968

The Cypress Community Manager has un-banned you, so if you want to try again, you should be able to re-apply.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
None yet
2 participants
@PeterN1968@MikeMcC399

[8]ページ先頭

©2009-2025 Movatter.jp