Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🚀 Feature]: Official statement on Java's PageFactory and support package #15522

Open
Sveshais opened this issue Mar 27, 2025 · 1 comment
Labels
A-needs-triaging A Selenium member will evaluate this soon! I-enhancement Something could be better

Comments

@Sveshais
Copy link

Feature and motivation

There are several statements scattered around in the Internet and in the issue comments regarding PageFactory being sub-optimal, meant as an example-only and its usage overall is discouraged, e.g.: #10836 (comment)

There are also mentions to phase out support package altogether: #14474 (comment)

This, however, cannot be found easilly and is not reflected in Selenium documentation. On the contrary, there are pages describing several support features, such as Waiting, ExpectedConditions, LoadableComponent etc. suggesting these are officially supported and encouraged features. Last one also refers to PageFactory in examples: Loadable Component

As these are widely used features, it would be very helpful to raise the awareness of any plans regarding their discontinuation by providing an official statement and perhaps pointing to alternative solutions.

Usage example

When I browse official Selenium documentation, I should not be advised to use discouraged or de facto deprecated features. A statement of PageFactory and support package (?) being discouraged would rise awareness an potentially fuel discussions and development of alternative solutions.

@Sveshais Sveshais added I-enhancement Something could be better A-needs-triaging A Selenium member will evaluate this soon! labels Mar 27, 2025
Copy link

@Sveshais, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-needs-triaging A Selenium member will evaluate this soon! I-enhancement Something could be better
Projects
None yet
Development

No branches or pull requests

1 participant