Skip to content

feat!: vendor the selenium-support page factory and wait engine - #2459

Merged
mykola-mokhnach merged 1 commit into
masterfrom
stage3
Oct 3, 2026
Merged

mykola-mokhnach merged 1 commit into
masterfrom
stage3

Conversation

@mykola-mokhnach

Copy link
Copy Markdown
Contributor

Phase 3 of removing the Selenium dependency footprint. FluentWait, Wait, Sleeper, @FindBy/@FindBys/@FindAll/@CacheLookup, PageFactory and the field decorator/locator classes now live in io.appium.java_client.support, a self-contained package tree (selenium-api, jspecify and JDK only, enforced by a checkstyle import-control rule) so it can be extracted later. Selenium's own @FindBy-family annotations are still honored when selenium-support is on the classpath.

BREAKING CHANGE: selenium-support is no longer a dependency of the library. Page objects should import FindBy, FindBys, FindAll, CacheLookup and PageFactory from io.appium.java_client.support. AppiumFluentWait now extends the vendored FluentWait, the deprecated functions.ExpectedCondition is removed, and PageFactory.initElements(driver, ...) is no longer provided. Users of WebDriverWait, ExpectedConditions or EventFiringDecorator must declare selenium-support themselves.

Phase 3 of removing the Selenium dependency footprint. FluentWait, Wait,
Sleeper, @FindBy/@FindBys/@FindAll/@CacheLookup, PageFactory and the
field decorator/locator classes now live in io.appium.java_client.support,
a self-contained package tree (selenium-api, jspecify and JDK only,
enforced by a checkstyle import-control rule) so it can be extracted
later. Selenium's own @FindBy-family annotations are still honored when
selenium-support is on the classpath.

BREAKING CHANGE: selenium-support is no longer a dependency of the
library. Page objects should import FindBy, FindBys, FindAll, CacheLookup
and PageFactory from io.appium.java_client.support. AppiumFluentWait now
extends the vendored FluentWait, the deprecated functions.ExpectedCondition
is removed, and PageFactory.initElements(driver, ...) is no longer
provided. Users of WebDriverWait, ExpectedConditions or
EventFiringDecorator must declare selenium-support themselves.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

@KazuCocoa KazuCocoa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀

@mykola-mokhnach
mykola-mokhnach merged commit dc77ecf into master Oct 3, 2026
12 checks passed
@mykola-mokhnach
mykola-mokhnach deleted the stage3 branch October 3, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants