$npx skillfedfor your agent

selenium-page-factory

Python library provides page factory approach to implement page object model in selenium

Worth itPyPI Python ModulesReleased Jun 202680.2K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — selenium_page_factory-2.8-py3-none-any.whl
v2.8 · released 2026-06-02 · Python >=3.7 · 1 runtime deps: selenium

Yes. The package is actively maintained, has no known vulnerabilities, supports current Python versions, and solves a real problem in Selenium test organization. Install friction is low with one dependency. MIT licensing carries no restrictions. Suitable for teams building or scaling Selenium test automation who want a structured page object pattern without heavy framework overhead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a WebDriver instance (from selenium) and a target web application to interact with.
  • Low friction install with a single runtime dependency (selenium).
  • Actively maintained with a recent release 73 days ago and ongoing commits; supports modern Python versions 3.7–3.12.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects without legal friction.

last release 2026-06-02 (73 days) · last repo commit 2026-06-04 · 44 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 80,249 downloads/mo, #14,303 on PyPI

Verify before relying

pip install selenium-page-factory

from selenium_page_factory import PageFactory

class MyPage(PageFactory):
    def __init__(self, driver):
        self.driver = driver
        self.timeout = 15

page = MyPage(driver)
page.set_text(locator, 'text')
page.click_button(locator)
  • Whether the unittest coverage claim in the description is accurate and what it measures.
  • Performance characteristics when managing large numbers of page elements or complex wait conditions.
  • How retry and flaky-test handling mechanisms interact with Selenium 4 ActionChains in practice.
Same gist for agents: .md · .json

What it is and what it does

selenium-page-factory provides a Python implementation of the page factory pattern, a structured way to organize Selenium test automation code. Instead of scattering WebDriver element locators throughout test code, you declare all page elements in a dictionary within a PageFactory subclass; the library then initializes them as class members with extended methods. Each extended method wraps standard Selenium operations with explicit waits, retry logic, and visual debugging (element highlighting). The package supports Selenium 4 ActionChains, Appium for mobile testing, and specialized operations like drag-and-drop, scroll-into-view, and click-with-retry to handle flaky tests.

It's designed for teams building maintainable Selenium test suites where page structure is centralized and reusable. You define a page class once, pass in a WebDriver instance, set optional timeouts and highlighting, and then call extended methods like set_text, click_button, or select_element_by_text on declared elements. The library handles visibility and clickability checks before acting, reducing boilerplate waits in test code.

Use it for

  • Organize large Selenium test suites by centralizing page element locators and interactions in reusable page classes.
  • Reduce flaky test failures by using built-in explicit waits and click-with-retry on elements before interaction.
  • Automate web application testing with Appium support for both desktop and mobile test scenarios.
  • Debug test failures faster by enabling element highlighting to see which elements are being interacted with.
  • Manage complex multi-element interactions (lists, tables, dropdowns) with extended methods like get_list_item_count and select_element_by_text.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, supports current Python versions, and solves a real problem in Selenium test organization. Install friction is low with one dependency. MIT licensing carries no restrictions. Suitable for teams building or scaling Selenium test automation who want a structured page object pattern without heavy framework overhead.

Install

selenium-page-factory on PyPI

Before you install

Low friction install with a single runtime dependency (selenium). Actively maintained with a recent release 73 days ago and ongoing commits; supports modern Python versions 3.7–3.12.

Requires a WebDriver instance (from selenium) and a target web application to interact with.

License in practice

MIT license permits commercial and private use with minimal restrictions; suitable for most projects without legal friction.

Quickstart

pip install selenium-page-factory

from selenium_page_factory import PageFactory

class MyPage(PageFactory):
    def __init__(self, driver):
        self.driver = driver
        self.timeout = 15

page = MyPage(driver)
page.set_text(locator, 'text')
page.click_button(locator)

Verify before relying

  • Whether the unittest coverage claim in the description is accurate and what it measures.
  • Performance characteristics when managing large numbers of page elements or complex wait conditions.
  • How retry and flaky-test handling mechanisms interact with Selenium 4 ActionChains in practice.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
selenium
MaintenanceActively maintained 73 days since the last release
Last repo commit
First released
Downloads80,249 / month, #14,303 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality AssuranceTopic :: Software Development :: Testing

Evidence: selenium_page_factory-2.8-py3-none-any.whl

Tags

Capabilities
page object model seleniumpage factory python seleniumselenium page automationwebdriver element wrapperselenium test frameworkpage-based test automationselenium pom library
Topics
selenium-testingpage-object-modeltest-automation
PyPI keywords
seleniumpage object modelpompagespage factoryautomationtestingwebdriver

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “page object model selenium”

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also Selenium-Screenshot · robotframework-extendedselenium2library · Appium-Python-Client · selenium · webdriver-manager · seletools · requestium · selenium-wire · robotframework-selenium2library · eyes-selenium