Basically I want playwright to wait for each element 5 seconds if element not found.
There is a way to change timeout individually as given below:
await page.waitForSelector('h1', { timeout: 5000 });
But I want to define it globally only one time, not in each and every element.
Thank in advance.