噩梦:高级浏览器自动化库-源码

上传者: 42148975 | 上传时间: 2021-02-01 11:17:02 | 文件大小: 159KB | 文件类型: ZIP
恶梦 Nightmare是的高级浏览器自动化库。 我们的目标是公开一些模仿用户操作的简单方法(例如goto , type和click ),并提供一个针对每个脚本块都是同步的API,而不是深度嵌套的回调。 它最初设计用于在没有API的站点之间自动执行任务,但是最常用于UI测试和爬网。 在,它使用了 ,它与相似,但大约并且更加现代。 :warning_selector: 安全警告:我们已经实施安全建议以确保您的安全,但是Electron中可能存在未发现的漏洞,这些漏洞可能允许恶意网站在您的计算机上执行代码。 避免访问不受信任的网站。 :hammer_and_wrench: 迁移到3.x:您需要在升级之前检查。 我们一直在努力改善噩梦,同时限制了重大更改,因此您很有可能不需要做任何事情。 是建立在Nightmare上的感知工具。 它可帮助您检测Web应用程序发行版之间的UI更改和错误。 是由构建的补充Chrome扩展,可在您浏览时为您生成Nightmare脚本。 非常感谢和在噩梦方面的帮助。 例子 让我们搜索DuckDuckGo: const Nightmare = re

文件下载

资源详情

[{"title":"( 53 个子文件 159KB ) 噩梦:高级浏览器自动化库-源码","children":[{"title":"nightmare-master","children":[{"title":".circleci","children":[{"title":"config.yml <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 62B </span>","children":null,"spread":false},{"title":"example.js <span style='color:#111;'> 525B </span>","children":null,"spread":false},{"title":"test","children":[{"title":"mocha.opts <span style='color:#111;'> 24B </span>","children":null,"spread":false},{"title":"server.js <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"bb-xvfb <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"fixtures","children":[{"title":"evaluation","children":[{"title":"index.html <span style='color:#111;'> 265B </span>","children":null,"spread":false}],"spread":true},{"title":"options","children":[{"title":"index.html <span style='color:#111;'> 189B </span>","children":null,"spread":false}],"spread":true},{"title":"simple","children":[{"title":"index.html <span style='color:#111;'> 121B </span>","children":null,"spread":false}],"spread":true},{"title":"manipulation","children":[{"title":"results.html <span style='color:#111;'> 224B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"result.html <span style='color:#111;'> 148B </span>","children":null,"spread":false}],"spread":true},{"title":"rendering","children":[{"title":"index.html <span style='color:#111;'> 389B </span>","children":null,"spread":false}],"spread":true},{"title":"preload","children":[{"title":"index.js <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 121B </span>","children":null,"spread":false}],"spread":false},{"title":"events","children":[{"title":"index.html <span style='color:#111;'> 340B </span>","children":null,"spread":false}],"spread":false},{"title":"security","children":[{"title":"index.html <span style='color:#111;'> 233B </span>","children":null,"spread":false}],"spread":false},{"title":"unload","children":[{"title":"add-event-listener.html <span style='color:#111;'> 430B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 225B </span>","children":null,"spread":false}],"spread":false},{"title":"navigation","children":[{"title":"invalid-frame.html <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":"c.html <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"b.html <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"a.html <span style='color:#111;'> 233B </span>","children":null,"spread":false},{"title":"valid-frame.html <span style='color:#111;'> 169B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 288B </span>","children":null,"spread":false},{"title":"invalid-image.html <span style='color:#111;'> 171B </span>","children":null,"spread":false},{"title":"hanging-resources.html <span style='color:#111;'> 134B </span>","children":null,"spread":false}],"spread":false},{"title":"cookies","children":[{"title":"index.html <span style='color:#111;'> 199B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"waitForX <span style='color:#111;'> 846B </span>","children":null,"spread":false},{"title":"Preferences <span style='color:#111;'> 69B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 75.99KB </span>","children":null,"spread":false},{"title":"files","children":[{"title":"nightmare-created.js <span style='color:#111;'> 188B </span>","children":null,"spread":false},{"title":"jquery-1.9.0.min.js <span style='color:#111;'> 90.89KB </span>","children":null,"spread":false},{"title":"test.css <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"jquery-2.1.1.min.js <span style='color:#111;'> 82.27KB </span>","children":null,"spread":false},{"title":"nightmare-error.js <span style='color:#111;'> 172B </span>","children":null,"spread":false},{"title":"server.key <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"server.crt <span style='color:#111;'> 721B </span>","children":null,"spread":false},{"title":"globals.js <span style='color:#111;'> 55B </span>","children":null,"spread":false},{"title":"nightmare-unended.js <span style='color:#111;'> 336B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"History.md <span style='color:#111;'> 18.34KB </span>","children":null,"spread":false},{"title":"Readme.md <span style='color:#111;'> 31.69KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 712B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"ipc.js <span style='color:#111;'> 4.41KB </span>","children":null,"spread":false},{"title":"javascript.js <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"preload.js <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"frame-manager.js <span style='color:#111;'> 3.45KB </span>","children":null,"spread":false},{"title":"nightmare.js <span style='color:#111;'> 15.54KB </span>","children":null,"spread":false},{"title":"actions.js <span style='color:#111;'> 18.48KB </span>","children":null,"spread":false},{"title":"runner.js <span style='color:#111;'> 17.70KB </span>","children":null,"spread":false}],"spread":true},{"title":".eslintrc.js <span style='color:#111;'> 556B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 101.88KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明