Verify asynchronous JavaScript execution on a web page
Preconditions (2)
Step 1: Open the browser and navigate to the test page URL
Step 2: Locate the button with id 'startAsync' and click it
Step 3: Use Selenium's executeAsyncScript to run a JavaScript function that waits 3 seconds and returns 'done'
Step 4: Capture the returned result from the async script execution
✅ Expected Result: The async script returns the string 'done' after approximately 3 seconds, confirming async execution works