← Back to Discord Forum

How to handle the condition mentioned below:

I want to check if locator X exists click on it else click on locator Y but locator X is getting loaded after some delay due to this locator Y is clicked. Note: don't want to put any extra delay or wait.

Please,, someone help on this

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?"

0 replies

Related Discord Threads

AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

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 luc@ray.run.