Can we include Microsoft Edge browser?

Gleb Bahmutov's Avatar

Gleb Bahmutov

16 Jan, 2020 08:27 PM

Microsoft has released the new Microsoft Edge browser based on Chromium and it would be nice to include it in the images. We are adding support for Edge to test runner but would like to run smoke tests on CI to make sure it works.

  1. Support Staff 1 Posted by Feodor Fitsner on 17 Jan, 2020 12:08 AM

    Feodor Fitsner's Avatar

    Yep, it will be included in the next update:

  2. Support Staff 2 Posted by Feodor Fitsner on 17 Jan, 2020 04:21 AM

    Feodor Fitsner's Avatar

    Btw, do you know a good way to disable "First time experience" in freshly installed Edge using a script? :) VS 2019 image is built with Packer.

  3. 3 Posted by Gleb Bahmutov on 17 Jan, 2020 06:14 PM

    Gleb Bahmutov's Avatar

    When Cypress launches the browser it appends a whole bunch of flags to be able to control it. Below is the full list of flags, but the most important I think is --no-first-run

    Full set of CLI flags

    --test-type --ignore-certificate-errors --start-maximized 
    --silent-debugger-extension-api --no-default-browser-check 
    --no-first-run --noerrdialogs --enable-fixed-layout --disable-popup-blocking 
    --disable-password-generation --disable-save-password-bubble 
    --disable-single-click-autofill --disable-prompt-on-repos 
    --disable-background-timer-throttling --disable-renderer-backgrounding 
    --disable-renderer-throttling --disable-restore-session-state 
    --disable-translate --disable-new-profile-management 
    --disable-new-avatar-menu --allow-insecure-localhost 
    --reduce-security-for-testing --enable-automation 
    --disable-device-discovery-notifications --disable-infobars 
    --autoplay-policy=no-user-gesture-required --disable-site-isolation-trials 
    --metrics-recording-only --disable-prompt-on-repost --disable-hang-monitor
     --disable-sync --disable-web-resources --safebrowsing-disable-auto-update 
    --safebrowsing-disable-download-protection --disable-client-side-phishing-detection 
    --disable-component-update --disable-default-apps --use-fake-ui-for-media-stream 
    --use-fake-device-for-media-stream --disable-ipc-flooding-protection 
    --disable-backgrounding-occluded-window --disable-breakpad 
    --password-store=basic --use-mock-keychain 
    --proxy-server=http://localhost:60273 --proxy-bypass-list=<-loopback> 
    --remote-debugging-port=60283 --remote-debugging-address= 
    --load-extension=/Users/gleb/Library/Application Support/Cypress/cy/development/browsers/edge/interactive/CypressExtension,/Users/gleb/git/cypress/packages/extension/theme 
    --user-data-dir=/Users/gleb/Library/Application Support/Cypress/cy/development/browsers/edge/interactive 
    --disk-cache-dir=/Users/gleb/Library/Application Support/Cypress/cy/development/browsers/edge/interactive/CypressCache
  4. Support Staff 4 Posted by Feodor Fitsner on 17 Jan, 2020 06:51 PM

    Feodor Fitsner's Avatar

    Great, that makes sense! No need to bother from our side then. Thanks for sharing!

  5. Feodor Fitsner closed this discussion on 03 Apr, 2020 06:47 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac