Proposal: Record open devTools in screenshots and video during `cypress run`
See original GitHub issueWith these changes, it will no longer be possible to have opened the dev tools for electron in interactive mode and then have them automatically opened during a run. Also, it’s never been possible to explicitly tells other browsers to open their dev tools.
Add a flag (--dev-tools
or --open-dev-tools
) that will open the browser dev tools on launch so a debugger in test or app code can hit and pause the run for debugging purposes.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:53
- Comments:21 (5 by maintainers)
Top Results From Across the Web
Screenshots and Videos - Cypress Documentation
Cypress records a video for each spec file when running tests during cypress run . Videos are not automatically recorded during cypress open...
Read more >Cypress Tips and Tricks - Gleb Bahmutov
Read the docs Run Cypress on your own CI Record success and. ... place the debugger keyword and run the test with DevTools...
Read more >agoldis/sorry-cypress-dashboard - Docker Image
Run your tests cypress run --parallel --record --key xxx --ci-build-id <buildId> ... S3 bucket preconfigured for storing screenshots and video recordings ...
Read more >The top 7 advanced features of Cypress to know about
Cypress is a fully featured test runner, creating test reports and saving videos and screenshots during the test runs. This allows companies ...
Read more >Screenshots and Videos in Cypress - Tools QA
Cypress provides in-built functionality for capturing screenshots and videos of various test runs. · By default, we capture screenshots only for ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
Top Related Hashnode Post
No results found
Top GitHub Comments
This is now possible in all supported browsers with the workaround below. See https://on.cypress.io/browser-launch-api#Modify-browser-launch-arguments
Closing as resolved.
@jennifer-shehane This only appears to work with the Cypress test runner, not when you run Cypress headlessly (as @mjlawrence83 and @rbabayoff mentioned above). IMO automatically opening devtools during
cypress open
is a slight convenience whereas opening devtools while running Cypress headlessly would be of enormous benefit in situations where the cy.log’ed error isn’t helpful and one needs to troubleshoot an AOT error.Please advise.