Skip to content

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

Open
@Sveshais

Description

@Sveshais

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs decisionTLC needs to discuss and agreeB-supportIssue or PR related to support classesI-enhancementSomething could be better

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions