1. Determine if the web application is static or dynamic.
2. If dynamic, check if the server is running; if not, use `scripts/with_server.py` to start it.
3. Navigate to the web application using Playwright.
4. Wait for the page to load completely using `page.wait_for_load_state('networkidle')`.
5. Inspect the DOM to identify selectors for elements to interact with.
6. Write Playwright script to interact with the application using the identified selectors.
7. Execute actions and assertions to validate functionality.
8. Capture screenshots and logs for debugging and reporting.