pearlxcore / Shopee-Autobuy-Bot

Automation program to assist users with purchasing products on the Shopee website.
55 stars 30 forks source link

Error@ stuck at place order page #9

Closed lima2tiga closed 1 year ago

lima2tiga commented 1 year ago

Hello Hi..

I received an error when trying to place my order. Can't continue in place order screen. Error log as below. Thx @pearlxcore..

[10:05:35] Cart page loaded. [10:05:35] Click 'Check Out'. [10:05:35] Checkout page loaded. [10:05:42] [S5] Waiting for element : //div[contains(@class, '_4MGXB1')] [10:05:42] no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, '_4MGXB1')]"} (Session info: chrome=112.0.5615.138) [10:05:43] Job aborted.

image

lima2tiga commented 1 year ago

The element displayed in log '_4MGXB1' could not be identified. Have tried to modify the existing element in the place order section still failed.

pearlxcore commented 1 year ago

Hi, the xpath is hardcoded in the program. I thought it would never be changed. Looks like I will need to store the xpath value locally like in text file so that users can change the xpath manually whenever Shopee updates it.

It is the xpath for order price in checkout page. Current value is '_9F3E9v'. I will add changes to store xpath value later.

lima2tiga commented 1 year ago

Hi, Thanks for the feedback. Agree with the admin's suggestion to give access lets the user to edit manually itself if the element section have any update from sh@pee. I look forward to the latest updates to give further feedback on the bot's progress.

Happy Eid al-Fitr

image

pearlxcore commented 1 year ago

Hope version 2.3.3.0 fixed this problem

lima2tiga commented 1 year ago

Thanks admin for the latest update.