175963182e
This patch implements FrameManager which is responsible for maintaining the frame tree. FrameManager is quite basic: it sends FrameAttached, FrameDetached and FrameNavigated events, and can report mainFrame and all frames. The next step would be moving certain Page API's to the Frame. For example, such method as Page.evaluate, Page.navigate and others should be available on Frame object as well. References #4
39 lines
951 B
JSON
39 lines
951 B
JSON
{
|
|
"name": "puppeteer",
|
|
"version": "0.0.1",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"engines": {
|
|
"node": ">=7.10.0"
|
|
},
|
|
"scripts": {
|
|
"unit": "jasmine test/test.js",
|
|
"test-phantom": "python third_party/phantomjs/test/run-tests.py",
|
|
"test": "npm run lint --silent && npm run unit && npm run test-phantom",
|
|
"install": "node install.js",
|
|
"lint": "[ \"$CI\" = true ] && eslint --quiet -f codeframe . || eslint ."
|
|
},
|
|
"author": "The Chromium Authors",
|
|
"license": "SEE LICENSE IN LICENSE",
|
|
"dependencies": {
|
|
"extract-zip": "^1.6.5",
|
|
"mime": "^1.3.4",
|
|
"progress": "^2.0.0",
|
|
"rimraf": "^2.6.1",
|
|
"ws": "^3.0.0"
|
|
},
|
|
"puppeteer": {
|
|
"chromium_revision": "478524"
|
|
},
|
|
"devDependencies": {
|
|
"deasync": "^0.1.9",
|
|
"eslint": "^4.0.0",
|
|
"jasmine": "^2.6.0",
|
|
"minimist": "^1.2.0",
|
|
"ncp": "^2.0.0",
|
|
"pixelmatch": "^4.0.2",
|
|
"pngjs": "^3.2.0",
|
|
"text-diff": "^1.0.1"
|
|
}
|
|
}
|