-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Closed
Copy link
Labels
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
WebdriverIO Version
9.2.11
Node.js Version
20.16.0
Mode
WDIO Testrunner
Which capabilities are you using?
{
"wdio:enforceWebDriverClassic": true
}What happened?
An error is thrown when attempting to switch to a parent frame using webdriver classic.
What is your expected behavior?
The context should be switched to the parent frame.
How to reproduce the bug.
browser.switchFrame(null);Relevant log output
TypeError: Cannot read properties of null (reading 'getElement')
at isPossiblyUnresolvedElement (.../node_modules/webdriverio/build/index.js:4190:54)
at Browser.switchFrame (.../node_modules/webdriverio/build/index.js:4199:9)
at Browser.wrapCommandFn (.../node_modules/@wdio/utils/build/index.js:884:32)Code 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