Shopee-Autobuy-Bot icon indicating copy to clipboard operation
Shopee-Autobuy-Bot copied to clipboard

SaleBanner Error

Open dualsh0ck opened this issue 1 year ago • 1 comments

[01:45:45] Countdown started..
[01:46:15] Product page loaded.
[01:46:20] Current element : SaleBanner (//div[contains(@class, 'O4v6r9')])
An error occurred on line    at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
   at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebDriver.FindElement(String mechanism, String value)
   at OpenQA.Selenium.By.<.ctor>b__11_0(ISearchContext context)
   at OpenQA.Selenium.By.FindElement(ISearchContext context)
   at OpenQA.Selenium.WebDriver.FindElement(By by)
   at Shopee_Autobuy_Bot.SeleniumService.GetElement(By locator)
   at Shopee_Autobuy_Bot.Services.AutoBuyService.IsProductAvailable()
   at Shopee_Autobuy_Bot.Services.AutoBuyService.BuyProduct(String buyMode)
   at Shopee_Autobuy_Bot.Services.AutoBuyService.ProductPage(String buyMode): no such element: Unable to locate element: {"method":"xpath","selector":"//button[contains(@class, 'btn btn-solid-primary btn--l') and contains(text(), 'buy now')]"}
  (Session info: chrome=119.0.6045.106)

Is this related to SaleBanner error?

Also SaleBanner refer to which element in Product Page?

Thanks!

dualsh0ck avatar Nov 02 '23 18:11 dualsh0ck

image

pearlxcore avatar Nov 13 '23 12:11 pearlxcore