Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Is there an replacement for org.openqa.selenium.ContextAware interface in Appium? #2296

@asolntsev

Description

@asolntsev

We used to use org.openqa.selenium.ContextAware interface to switch between contexts:

  ContextAware ca = (ContextAware) androidDriver;
  androidDriver.context("WEBVIEW_com.saucelabs.mydemoapp.rn")

But interface org.openqa.selenium.ContextAware was recently removed in Selenium 4.34.0-SNAPSHOT.

Is Appium's interface io.appium.java_client.remote.SupportsContextSwitching is proper replacement?
But it still depends on org.openqa.selenium.ContextAware (so it fails in runtime with Selenium 4.34.0-SNAPSHOT).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions