question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for testing chrome extensions

See original GitHub issue

Description 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:closed
  • Created 7 years ago
  • Reactions:5
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
JulianGcommented, Jun 15, 2018

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 uses chrome-extension:// protocol. I’m not sure that would ever work.

1reaction
JulianGcommented, Jun 15, 2018

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 specified chrome-extension://dsadsadwhateverdsadasd/index.html

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found