tom-konda / Puppeteer-IE

Headless Internet Explorer NodeJS API inspired by Puppeteer

Home Page:https://techquery.github.io/Puppeteer-IE/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Puppeteer-IE

Headless Internet Explorer NodeJS API inspired by Puppeteer.

[ Notice ] Microsoft Edge isn't supported by this package as it utilizes ActiveX, whereas Edge uses the WebDriver protocol & DevTools Protocol for automation. So you can control it by Selenium or Edge diagnostics adapter.

NPM

Installation

npm install puppeteer-ie

[ Notice ] If you get some error at installing, try to execute the command below:

npm install --global --production windows-build-tools

(More about this)

Usage

Only change the Package Name, and then do as Puppeteer does.

[ Recommendation ] Use DayDream to record operation scripts in Google Chrome.

API document accesses from https://techquery.github.io/Puppeteer-IE/ or npm run help.

Known issue

  1. Loading pages of IE will be blocked if a Web server running in the same NodeJS process

  2. Loading pages from localhost will lost the window object in NodeJS process

For the above reasons, I recommend using KoApache to host your Web pages for testing or other things.

Development

Contributor guide

Acknowledgement

  1. Puppeteer

  2. Node-ActiveX

  3. HTML2Canvas

About

Headless Internet Explorer NodeJS API inspired by Puppeteer

https://techquery.github.io/Puppeteer-IE/

License:GNU Lesser General Public License v3.0


Languages

Language:JavaScript 99.9%Language:CSS 0.1%