diff --git a/.templates/python/template_async.py b/.templates/python/template_async.py index 18ec16ebc..bb5244b5e 100644 --- a/.templates/python/template_async.py +++ b/.templates/python/template_async.py @@ -47,7 +47,7 @@ async def fetch_data(context: BrowserContext, session_url): response = await page.query_elements(elements_query) # Update to use the actual query terms to interact with the elements await response.search_input.type("") - await response.search_button.click() + await response.search_btn.click() # Update the query to fetch the desired data from the page data_query = """