Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac 0.10.3 not refreshing #107

Open
Jake-rnz opened this issue Jul 29, 2021 · 2 comments
Open

mac 0.10.3 not refreshing #107

Jake-rnz opened this issue Jul 29, 2021 · 2 comments

Comments

@Jake-rnz
Copy link

Jake-rnz commented Jul 29, 2021

Thank you so much for developing and updating this script, it is incredibly apprecited!

Was using previous build successfully, running mac os catalina 10.15.7

downloaded and began using new version today

navigate to secure allocation page, receive following notice, but page does not refresh automatically

Found "Secure your allocation" page! Wait for beep sound, confirm the date selected is what you want, then do the reCAPTCHA and click 'next' to continue booking.

Thanks again!!

@Jake-rnz Jake-rnz reopened this Jul 29, 2021
@Jake-rnz
Copy link
Author

Welcome to the MIQ Booking Assistance!
A new browser window should appear. Please navigate to "Secure your allocation" page.
Found "Secure your allocation" page! Wait for beep sound, confirm the date selected is what you want, then do the reCAPTCHA and click 'next' to continue booking.
(node:1895) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read property 'scrollIntoView' of null
at puppeteer_evaluation_script:3:18
at ExecutionContext._evaluateInternal (/Applications/miq-nz-booking-assistance.app/Contents/Resources/app/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:217:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async ExecutionContext.evaluate (/Applications/miq-nz-booking-assistance.app/Contents/Resources/app/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:106:16)
at async findAvailability (/Applications/miq-nz-booking-assistance.app/Contents/Resources/app/miq-assistance.js:142:12)
at async prepareAndCheckPage (/Applications/miq-nz-booking-assistance.app/Contents/Resources/app/miq-assistance.js:120:9)
at async /Applications/miq-nz-booking-assistance.app/Contents/Resources/app/miq-assistance.js:90:13
(Use miq-nz-booking-assistance --trace-warnings ... to show where the warning was created)
(node:1895) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1895) [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.

@Jake-rnz
Copy link
Author

Randomly started working successfully for a few hours and then stopped refreshing automatically again.

The above was created by running the script from the package contents of the application.

Sorry I do not possess any coding knowledge, I'm not sure if the above is relevant or has any useful information/ can provide a solution to the issue?

Thank you again for all your hard work! Much appreciated, hopefully I can get home soon! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant