Chrome window opened by Cypress keeps asking to add printer
See original GitHub issueCurrent behavior
I have a printer in my wifi network. Every time I run a Cypress test locally, the Chrome instance Cypress opens to run the tests in shows a notification whether I want to add the newly found printer in my network to Google Cloud Print. This gets quite annoying after some time.
Desired behavior
Deactivate the Google features of Chrome and prevent the notification from showing up by default as it isn’t necessary for test execution.
Steps to reproduce
Add a printer to your network, npm run cypress:open
and run any test locally.
Versions
Cypress v2.1.0 Chrome v65 Mac OS v10.13.4
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Troubleshooting | Cypress Documentation
Troubleshooting · Support channels · Isolate the Problem · Download specific Chrome version · Clear Cypress cache · Launching browsers · Allow the...
Read more >Automated chrome shows different print window than regular ...
My problem here is that with Cypress I click on button "Print" which opens regular pint window (Operating System's). In regular Chrome it ......
Read more >cypress-io/cypress - Gitter
In cypress i am clicking the print button and using cy.screenshoot() to take the screen capture. It is not working for me. The...
Read more >Cypress Failed to Connect to Chrome: 5 Ways to Easily Fix it
Open Cypress by typing this command in the terminal: node_modules/. · Run the following command in the terminal: cypress run -browser chrome ·...
Read more >How to handle new browser Tab and Window in Cypress
Step 2: Click on the 'Try it' button. Step 3: A new window would be opened. Verify that the header text in the...
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 believe that the
--disable-device-discovery-notifications
Chromium flag may silence these notifications.Could you try adding this to your
cypress/plugins/index.js
file and let me know if this works?If this works, we can very easily automatically do this in Cypress when launching Chrome.
Released in
3.0.0
.