The Puppeteer context or page to use for selector operations.
An array of selectors to race.
Optionaloptions: WaitForSelectorOptionsOptional configuration for waitForSelector.
A promise that resolves to an object containing:
result: The result of the first successful waitForSelector call.winner: The selector that won the race.
Races multiple
waitForSelectorcalls and returns the first successful result along with the selector that won.