Shopee-Autobuy-Bot
Shopee-Autobuy-Bot copied to clipboard
Selenium Error
Good day and sorry for a question that i face on software currently Do this still update or no actually
Current element : ()
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=121.0.6167.85)
If any solution please let me know Thanks for the hardwork