Online Training: Web test automation with CodeceptJS. Sign up now!

Error when executing "see" or "wait"

When I run the code below

Scenario('login test', (I) => {
    I.amOnPage(url);
    I.see('Supports');
});

I got this error

I see “Supports”
» [SmartWait (5000ms)] Locating body in 5000
[1] Error | TypeError: (0 , _webdriver.webdriverMonad) is not a function

I’m using
webdriver helper
ChromeDriver

Do you have the latest CodeceptJS, WebDriverIO 5.x, ChromeDriver and Selenium?
I know that I got similar error when Selenium and WebDriverIO were outdated.

Thank you mirao for your answer, that was very helpful.
indeed it was related to the version.

Thanks again