i have code blow:

import asyncio
from playwright.async_api import async_playwright
from selectolax.lexbor import LexborHTMLParser
import termcolor
import random

# Stealth function to reduce detection
async def stealth(page):
    await page.evaluate("""() => {
        Object.defineProperties(navigator, {
            webdriver: { get: () => false },
            plugins: { get: () => [1, 2, 3, 4, 5] },
            languages: { get: () => ['en-US', 'en'] }
        });
        window.navigator.chrome = { runtime: {}, };
        Object.defineProperty(navigator, 'platform', { writable: true });
        navigator.platform = 'Windows NT';
        Object.defineProperty(navigator, 'webdriver', { get: () => undefined });
    }""")
    
    await page.set_extra_http_headers({
        'Accept-Language': 'en-US,en;q=0.9',
        'Referer': 'https://www.google.com/'
    })

async def main():
    results_data = []
    # Playwright setup
    async with async_playwright() as p:
        browser = await p.chromium.launch(headless=True, args=['--disable-gpu', '--window-size=1920,1080'])
        page = await browser.new_page()
        
        # Set user agent
        await page.set_extra_http_headers({'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36'})
        
        # Apply stealth
        await stealth(page)
        
        # Navigate to the URL
        query = "sadness"
        url_scholar = f'https://scholar.google.com/scholar?q={query}&hl=en&gl=us&start=1'
        print(termcolor.colored(f"Fetching URL: {url_scholar}...", 'yellow'))
        await page.goto(url_scholar)
        
        # Random delay
        await page.wait_for_timeout(random.randint(1000, 3000))
        
        # Wait for the results to load
        try:
            await page.wait_for_selector('.gs_r.gs_or.gs_scl', timeout=10000)
        except Exception as e:
            print(f"Timeout error: {e}")
            await browser.close()
            return
        
        # Get the page content
        content = await page.content()
        
        # Save content for debugging (optional)
        # with open('page.html', 'w', encoding='utf-8') as f:
        #     f.write(content)
        
        # Parse with LexborHTMLParser
        parser = LexborHTMLParser(content)
        
        # Check if elements are found
        elements = parser.css('.gs_r.gs_or.gs_scl')
        print(f"BIG RESULT: {elements}")
        
        # Append data
        results_data.append("Big boom stick.")
        
        # Print results data
        print(f"Results Data: {results_data}")
        
        # Close the browser
        await browser.close()

# Run the main function
asyncio.run(main())

the error is below. check what cause it:

Traceback (most recent call last):
  File "c:\Users\Name\Downloads\xz\main3.py", line 80, in <module>
    asyncio.run(main())
  File "C:\Python312\Lib\asyncio\runners.py", line 194, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\asyncio\runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\asyncio\base_events.py", line 664, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "c:\Users\Name\Downloads\xz\main3.py", line 37, in main
    await stealth(page)
  File "c:\Users\Name\Downloads\xz\main3.py", line 9, in stealth
    await page.evaluate("""() => {
  File "C:\Python312\Lib\site-packages\playwright\async_api\_generated.py", line 8495, in evaluate
    await self._impl_obj.evaluate(
  File "C:\Python312\Lib\site-packages\playwright\_impl\_page.py", line 467, in evaluate
    return await self._main_frame.evaluate(expression, arg)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\site-packages\playwright\_impl\_frame.py", line 278, in evaluate
    await self._channel.send(
  File "C:\Python312\Lib\site-packages\playwright\_impl\_connection.py", line 61, in send
    return await self._connection.wrap_api_call(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\site-packages\playwright\_impl\_connection.py", line 528, in wrap_api_call
    raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
playwright._impl._errors.Error: Page.evaluate: TypeError: Cannot redefine property: webdriver
    at Function.defineProperty (<anonymous>)
    at eval (eval at evaluate (:234:30), <anonymous>:10:16)
    at UtilityScript.evaluate (<anonymous>:241:19)
    at UtilityScript.<anonymous> (<anonymous>:1:44)