Hello,
I´m trying experiment the tool but not working when I select to click in the image, inform this error anybody can help?
my code
from botcity.web import WebBot, Browser
class Bot(WebBot):
def action(self, execution=None):
# Configure whether or not to run on headless mode
self.headless = False
# Uncomment to set the WebDriver path
self.driver_path = "./chromedriver.exe"
# Opens the BotCity website.
self.browse("https://www.google.com/")
if not self.find( "teste", matching=0.97, waiting_time=10000):
self.not_found("teste")
self.click()
# Wait for 10 seconds before closing
self.wait(10000)
# Stop the browser and clean up
# self.stop_browser()
def not_found(self, label):
print(f"Element not found: {label}")
if name == ‘main’:
Bot.main()