• Failure is Feedback
  • Posts
  • 🤯 Solved: How to enable the Cypress Chrome Extension in the Cypress Dashboard

🤯 Solved: How to enable the Cypress Chrome Extension in the Cypress Dashboard

We all have those days.

We’re working on a project, reading the documentation, staring at the errors, and thinking, ā€œWhat am I doing wrong???ā€

Today was one of those days for me.

I’ve been diving into the Cypress Puppeteer plugin and what seemed to be working for others, as far as I could tell, was not working for me. I’d been staring at an error for far too long. I read too fast and I’m REALLY bad about not asking for help. I knew I was close. I just needed to find the next step.

And, I did. I found it buried in a comment on Stack Overflow. So, here you go.

If you are setting up the Cypress/Puppeteer plugin and you run across the following error —

Error: Cannot communicate with the Cypress Chrome extension. Ensure the extension is enabled when using the Puppeteer plugin.

— you might want to check the following…

Within the Cypress Dashboard, running one of your specs, click the + button in the browser.

Add chrome://extensions in the search field

Click the toggle button!

Close that browser tab

aaaaaand rerun your test…

Yay!!! Okay, fine, it’s still an error but it’s a new error! This means that we’ve gotten over the first hurdle of getting Puppeteer up and running. The rest is figure-outable.

Hopefully, this is exactly what you need. If not, let me know! I don’t know much but maybe, together, we can figure out what’s going on.

If anything, I learned something new.

I hope you did too.

Till next time…

All my posts are free to read and clicking subscribe will bring each post to your inbox. If my work brings you joy, and you’d like to support it, you can become a paid subscriber by clicking the button above. If a paid subscription is not your thing, you can support my caffeine addiction writing by clicking the button below! Thanks!

Written with Lost - Calm Relaxing Meditation Music - Soothing Sleep Ambient Music playing in the background

Reply

or to participate.