Skip to content

ContextAware class missing since Selenium 4.34.0 released #2309

Closed
@jarras

Description

@jarras

Issue

Hi, since Selenium 4.34.0 has been released yesterday, I'm unable to compile anything that use this (java-client) library as a dependency.

Error

Whenever I try to compile anything I get following error:

/path/to/project/src/main/java/package/to/Class.java:54:36
java: cannot access org.openqa.selenium.ContextAware
  class file for org.openqa.selenium.ContextAware not found

Possible cause

This is because ContextAware class was deprecated until selenium-api 4.33.0 which has been removed in selenium-api 4.34.0.
Since this project has a range version set for all its selenium related libraries in its pom.xml file, it is quite prone to break when classes are removed unfortunately.

Context

Tested with java-client 9.3.0 and java-client 9.4.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions