Open PR0D0GG0 opened 3 years ago
You got it to log in correctly? Mine didn't :( Also, I have the same errors as you, after manually logging in. I am after the NVidia graphics cards, which rarely ever show up I think so idk if it will ever work or not...Still testing.
I have the same errors. What I did was test the bot on a product that I know is in stock to see if it would work. unfortunately it did not complete and order and kept refreshing page. Never added to cart or checked out
So I tried with a different link. It half works. It add the item to cart but then goes back and keeps on ordering it. Rather than checking out or signing in.
I was getting this problem for several of the yellow boxes. What worker for me was to right click the specific box I needed it to register, inspect>right click highlighted path>copy>copy full XPath, then replace the existing one in the code that corresponds to the one your just copied.
Can you explain the last part
From: IanMRe @.> Sent: April 27, 2021 10:49 PM To: nickconnors/RTX-3070-Best-Buy-Bot @.> Cc: Fishmaster @.>; Comment @.> Subject: Re: [nickconnors/RTX-3070-Best-Buy-Bot] Errors I Don't Understand (#27)
I was getting this problem for several of the yellow boxes. What worker for me was to right click the specific box I needed it to register, inspect>right click highlighted path>copy>copy full XPath, then replace the existing one in the code that corresponds to the one your just copied.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/nickconnors/RTX-3070-Best-Buy-Bot/issues/27#issuecomment-828101201, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATZ7AJ5VYGR6W4VZEL3GK7LTK5ZTRANCNFSM43QLA5EQ.
Open the bot.py file in notepad, locate the respective yellow box code you are having trouble with. The line should look like this: EC.presence_of_element_located((By.XPATH, "")) look above this line to see which element the path is supposed to be finding, and replace whatever is inside the "" with the newly copied XPath. I think the problem is that BestBuy has updated the XPaths for the buttons since this script was made.
So I got the bot up and running, it seems to be doing the first part properly (refresh the page if check out cart is not available), now I just have to wait and see if all of it works properly. I left it running overnight to see if any errors will show up, and they did. I am fairly new to python so I have no idea what these errors mean nor do I know how to repair them.
DevTools listening on ws://127.0.0.1:3410/devtools/browser/838eb2fa-ec04-4200-823d-b1e6374b21d0 [9796:23680:0423/225915.959:ERROR:device_event_log_impl.cc(214)] [22:59:15.958] Bluetooth: bluetooth_adapter_winrt.cc:1072 Getting Default Adapter failed. [2800:13744:0423/225918.231:ERROR:ssl_client_socket_impl.cc(947)] handshake failed; returned -1, SSL error code 1, net_error -107 [10676:24092:0423/230108.428:ERROR:gpu_init.cc(426)] Passthrough is not supported, GL is disabled