I am trying to await a div that has one of two possible ids, div#abc
or div#efg
.
I can await div#abc
like this:
await this.page.waitForSelector('div#abc');
But how can I tell Playwright that I also want the step to pass if div#efg
is present?