Closed CapSap closed 6 months ago
i've done a small refactor and tried to extract out some functions that i can.
but a problem is the scope of the pages- i think i need to leave them there at the top level within the main function?
could i pass the page into the login function?
yes was the answer to above question. I had an annoying bug that i couldnt figure out. But it turned out that i wasn't importing the .env into the login functions. script is working now! but how to keep track of where im up to?
i think i'll just just do manual batches of 30. this is a good opportunity to troubleshoot the navigating before waiting for search results problem.
all done
for some reason there are a few orders w/o recipts in mag. okay so. what do i want to do? take a csv and input the receipt number one by one.
how do i get the range of orders to put the number in? i've got a link to all orders.
imagined steps:
How will i check progress / know when it fails?