How to put explicit wait in Node JS Selenium?

How to put explicit wait in Node JS Selenium?

Hi Ian,

You can add the below line of code:

await driver.wait(until.elementLocated(By.xpath("xPath of the element"),time_in_miliseconds));