Skip to content

WDIO v9 deprecates switchToFrame and switchToWindow #1164

@straker

Description

@straker

As the title states, these two functions are now deprecated with recommended replacements. However, as least with switchToFrame, the replacement function was only added in v9 so we can't use it without breaking older versions. One strategy would be to feature detect the switchFrame function and use it if available, otherwise fallback to switchToFrame.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions