This thread is trying to answer question "How can I check if locator X exists and click on it, else click on locator Y, without adding any extra delay or wait?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].