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 https://blogs.windows.com/windowsexperience/2020/01/15/new-year-new-browser-the-new-microsoft-edge-is-out-of-preview-and-now-available-for-download/ and it would be nice to include it in the images. We are adding support for Edge to Cypress.io 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: https://github.com/appveyor/ci/issues/3287

  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=127.0.0.1 
    --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

Generic

? 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

 

03 Oct, 2024 07:07 PM
01 Oct, 2024 05:06 PM
01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM