Closed CapSap closed 8 months ago
for bug no 2: i think there is a slight pause between loader = hidden and the actual results being displayed
so addressing bug 1. Error: Error: failed to find element matching selector "div.screen-input"
found the bug with headless=false!
sometimes the script clicks on this dropdown.
and i think the reason is that there is some order no text as a option!
got another interesting error: script clicked on the wrong screen and the page went to here
how did we get here? to get to this screen script must be clicking on header bar, then clicking on the sort?
pr #14 fixes this
2 problems:
script throws an error during selling, intermittently.
Error: Error: failed to find element matching selector "div.screen-input"
not sure what's going on herescript is also throwing an error during entering receipt number into pronto (navigating to the wrong page)
Error: script is on the wrong page! error somewhere when navigating to the order detail page
for this error, page is not waiting everything that needs to happen after enter pressokay so how can i make sure that pupateer waits for results? could i wait for the content inside to === the page that we are searching for? could i wait for a function that is running in browser, until the innerHTML === search?