jmlweb / gremlins-puppet Goto Github PK
View Code? Open in Web Editor NEWMonkey testing with Gremlins.js via Puppeteer
License: MIT License
Monkey testing with Gremlins.js via Puppeteer
License: MIT License
yarn run v1.9.2
$ npm run build && node dist/index.js --url http://example.com or npm run start --urlhttp://localhost:8888/home
[email protected] build /home/eaachmh/gremlins-puppet
rimraf dist/ && babel ./ --out-dir dist/ --ignore ./node_modules,./.babelrc,./package.json,./npm-debug.log --copy-files
config.default/browser.js -> dist/config.default/browser.js
config.default/gremlins.js -> dist/config.default/gremlins.js
config.default/index.js -> dist/config.default/index.js
config.default/page.js -> dist/config.default/page.js
index.js -> dist/index.js
lib/getConfig.js -> dist/lib/getConfig.js
lib/gremlinsClient.js -> dist/lib/gremlinsClient.js
lib/gremlinsPuppet/buildEnvironment.js -> dist/lib/gremlinsPuppet/buildEnvironment.js
lib/gremlinsPuppet/createUrlChangeHandler.js -> dist/lib/gremlinsPuppet/createUrlChangeHandler.js
lib/gremlinsPuppet/index.js -> dist/lib/gremlinsPuppet/index.js
(node:24044) UnhandledPromiseRejectionWarning: Error: Failed to launch chrome!
[24054:24054:0802/104047.898197:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
at onClose (/home/eaachmh/gremlins-puppet/node_modules/puppeteer/lib/Launcher.js:285:14)
at Interface.helper.addEventListener (/home/eaachmh/gremlins-puppet/node_modules/puppeteer/lib/Launcher.js:274:50)
at Interface.emit (events.js:187:15)
at Interface.close (readline.js:379:8)
at Socket.onend (readline.js:157:10)
at Socket.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1090:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
(node:24044) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:24044) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Done in 2.08s.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.