-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
WebdriverIO Version
8.39.1
Node.js Version
20.10.0
Mode
Standalone Mode
Which capabilities are you using?
{
platformName: "mac",
browserName: "chrome",
"appium:automationName": "Chromium",
}What happened?
navigateTo has return type Promise<string> but when it logged null instaed.
What is your expected behavior?
should be only just string?
I was using waitUntil and expect return string(or truthy value)
How to reproduce the bug.
driver.waitUntil(
async () => {
const returnValue = await driver.navigateTo("<the url>")
console.log("returnValue:", returnValue)
return true
},
{ timeout: 30000 }
)
Relevant log output
console.log
returnValue: null
at src/tests/web.test.ts:27:17Code of Conduct
- I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- I have searched the existing issues
Reactions are currently unavailable
