JavaScript library to simulate Internet Explorer JavaScript environment?

后端 未结 2 770
囚心锁ツ
囚心锁ツ 2021-02-08 15:33

This is not a duplicate of the JS library to simulate Internet Explorer? question about simulating Internet Explorer\'s CSS support; this is about JavaScript functions.

<

2条回答
  •  庸人自扰
    2021-02-08 15:51

    You may be after something like this: http://triflejs.org/ (currently in beta)

    Its an IE port of phantomjs for running Headless UI tests.

    Like phantom, it uses V8 for running javascript API executable scripts, and instead of webkit it uses the.NET WebBrowser class for instantiating a bare-bones IE engine.

    IE provides an emulation environment for running earlier versions so this will run as IE7, IE8 and IE9 if you have IE9 installed.

    enter image description here

提交回复
热议问题