Small modification to Node.js Puppeteer script

puneetas3

Senior Member
Joined
Jan 8, 2012
Messages
1,112
Reaction score
476
I need simple modification in a puppeteer script to handle an event listener. Please check the attached files (main.js and solver.js) which have only bare minimum lines of code. Change needed in solver.js to trigger promise.reject or throw error when an event occurs. This error should be catched and returned to main.js

main.js - https://pastebin.com/vPGi1erV
solver.js - https://pastebin.com/kN2edcv3

Offering $15 for this small change. Successful person can expect more work for this project. If you need clarification do let me know. I just want to return 'error' from solver.js to main.js when the class 'rc-dos-body' is added.
 
Back
Top