Add support for testing chrome extensions
See original GitHub issueDescription Add support for testing chrome extensions.
Code
cy.visit('chrome-extension://ojdhgjfbbonanlpdejcbmiledkcedbdo/popup.html');
Additional Info Right now, it doesn’t navigate to url and throws error with message: ‘Sorry, we could not load: chrome-extension://ojdhgjfbbonanlpdejcbmiledkcedbdo/popup.html’
Since you get questions about testing chrome extensions, maybe include more verbose error message or info that you don’t support that yet.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:6 (2 by maintainers)
Top Results From Across the Web
10 must-have Chrome Extensions for testers in 2023
This guide contains 10 must-have Chrome Extensions that help testers improve their efficiency, speed and scale faster.
Read more >15 Best Chrome Extensions for Software Testers in 2022
15 of the best Google Chrome Extensions for Software Testers · #1. LambdaTest Screenshots · #2. Bird Eats Bug · #3. Window Resizer...
Read more >Top 8 Chrome Extensions for Website QA Testing - HostGator
8 Best Chrome Extensions for QA Testing ; 1. Ghost Inspector ; 2. Bug Magnet ; 3. Window Resizer ; 4. Resolution Test...
Read more >Testing Google Chrome Extensions - Micro Focus
Testing Google Chrome Extensions. You can use one of the following two approaches to test a Google Chrome extension (add-on) with Silk Test...
Read more >25+ Useful Chrome Extensions for Software Testers
As the name implies, this Chrome extension will help you with exploratory testing. It allows you to add annotations in the form of...
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
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can see the test page is
http://localhost:54493/__/#/tests/integration/visit.spec.js
and it contains an iframe with the page I’m testing, which useschrome-extension://
protocol. I’m not sure that would ever work.That example loads the extension into the Cypress chrome browser. But I believe the issue persists: the call to
cy.visit
fails to navigate to the specifiedchrome-extension://dsadsadwhateverdsadasd/index.html