Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to support IE 10 & 11 please? #594

Closed
aaronamm opened this issue Jan 23, 2020 · 9 comments
Closed

Is it possible to support IE 10 & 11 please? #594

aaronamm opened this issue Jan 23, 2020 · 9 comments

Comments

@aaronamm
Copy link

aaronamm commented Jan 23, 2020

I know right now there is work around to test IE with modern API.
I have a POC project to test it with puppeteer-ie package.
Here is the link. https://github.com/codesanook/Codesanook.Examples/blob/master/codesanook-examples-puppeteer-ie/specs/NavigationSpec.ts

However, it would be nice if there is built-in support by playwright.

From the statistic telling us that there are some people using IE and we cannot force them to use modern browsers, e.g. Edge. In fact, those who use IE are our value customers.
Therefore, supporting IE is very important to us.

I hope playwright team will consider supporting IE.
Thank you.

image

source (Desktop only)
https://gs.statcounter.com/browser-version-market-share/desktop/worldwide/#monthly-201812-201912

@aaronamm aaronamm changed the title Any idea to support IE 10 & 11 please? Is it possible to support IE 10 & 11 please? Jan 23, 2020
@weyert
Copy link

weyert commented Jan 23, 2020

That would be the dream if it could support IE11 or Edge. I have been wondering if chromeless MSHTML.dll is possible on those Windows Core docker images. My gut feeling says no but would be cool

@JoelEinbinder
Copy link
Contributor

I'm not that familiar with the world of IE. Is your main concern that javascript runs correctly and html renders correctly in the engine? Or do you need to test activex and other legacy things that only IE supports?

@weyert
Copy link

weyert commented Jan 23, 2020

I would already be delighted if you could render and screenshot things in ease :)

@aaronamm
Copy link
Author

Hi @JoelEinbinder. Thanks for your comment.

The main functionalities that we want test on IE are:

  • Navigation web page
  • Interact with DOM.e.g. click, send text, select option, focus, waiting for amount of time, waiting for DOM loaded.
  • Get JavaScript errors during testing.
  • Screenshot is optional but it is useful for testing if layout rendering is correct or taking a screenshot when testing fail. FYI, puppeteer-ie do not render screenshot image correctly. A website I tested renders correctly on IE but a screenshot shows ugly layout.
  • We don't test ActiveX or other legacy stuff.
  • Main usages are automated testing like users interact with a website on IE browser.

Thanks.

@flash-me
Copy link

Even after the end of support for Windows 7 (except extended paid one), people still struggle with IE.

Every single project I know that had to support IE ended up with huge mess in their codebase due to IE specific hacks, and exponential high efforts wasting nerve-racking time.
Guys, just consider the security faults by using IE.
Crazy. just crazy.

@nagaozen
Copy link

nagaozen commented Jan 28, 2020

That would be the dream if it could support IE11 or Edge. I have been wondering if chromeless MSHTML.dll is possible on those Windows Core docker images. My gut feeling says no but would be cool

I built a docker image sometime ago based on the windows base os 1809 image and it have mshtml.dll working on it https://hub.docker.com/r/nagaozen/asp-docker. I've also requested a review to add the fod stuff on windows server core images: https://github.com/MicrosoftDocs/windows-insider/issues/56. If you guys also thinks it useful, let's pump the issue up.

@nathanboktae
Copy link

Supporting IE is a whole another thing. It can't run headless, which means it needs a GUI, and a graphics card. If you have to support IE, you should probably stick with Selenium & WebDriver, as flakey as it is. That's just the reality. Or push your product and company to not support it and call out the costs it incurs.

@aslushnikov
Copy link
Collaborator

No, there are no plans to support IE10/IE11. This would be a huge engineering effort and should be very well justified.

I'll close this for now, but feel free to share your thoughts / upvote the bug to vouch for the need of this.

@Vandivier
Copy link

Just a comment - Edge has IE11 mode which might be a way to hack in some IE11 e2e support.
Related Cypress discussion: cypress-io/cypress#6423

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants