问题
I need to use Cypress for testing angular and react application on Internet Explorer and Microsoft edge. I have gone through some links which mentions that Cypress supports only Chrome, Chromium and Electron. Is it true ? if not the how can i use it for testing IE and Edge.?
回答1:
As per the documentation Canary, Chrome, Chromium and Electron are supported.
Cypress supported browsers
Which means you cannot make a test with IE or present Edge browser.
But you can try to make a test with new MS Edge Chromium. As it is using Chromium browser engine, It should work with Cypress.
The pre launched version is available to download. You can download it from link below.
Download link for new Edge Chromium
回答2:
Yes it is true, currently only Chrome, Chromium and Electron are supported. You can follow https://github.com/cypress-io/cypress/issues/310 for the strategy of Cypress.io for new browser support.
So to answer the question:
how can i use it for testing IE and Edge.?
You simply can not
来源:https://stackoverflow.com/questions/56052764/how-can-we-setup-cypress-for-ie-and-edge