create-playwright-page-objects

create-playwright-page-objects is a skill for Claude Code, Codex from jeffsenso/prestashop-skills. It costs 51 tokens per session (680 once invoked), scanned A, original, MIT.

A generator for Playwright page-object classes for new PrestaShop back-office pages. Page objects store page selectors and user interactions so tests can reuse them.

In plain words
What is it for?
Use it to create objects for grids, filters, bulk actions, row actions, toggles, pagination, and navigation in the testing library.
Why use it?
It keeps selectors and actions in one place and separates them from test checks, making migrated-page tests easier to organize.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create objects for grids, filters, bulk actions, row actions, toggles, pagination, and navigation in the testing library.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeffsenso/prestashop-skills/create-playwright-page-objects
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jeffsenso/prestashop-skills --skill create-playwright-page-objects
Clone the repo
git clone --depth 1 https://github.com/jeffsenso/prestashop-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-playwright-page-objects

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeffsenso/prestashop-skills/create-playwright-page-objects/github.svg)](https://agentmods.dev/skills/jeffsenso/prestashop-skills/create-playwright-page-objects)
Your own site
<a href="https://agentmods.dev/skills/jeffsenso/prestashop-skills/create-playwright-page-objects"><img src="https://agentmods.dev/badge/skills/jeffsenso/prestashop-skills/create-playwright-page-objects/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create-playwright-page-objects

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeffsenso/prestashop-skills/create-playwright-page-objects"><img src="https://agentmods.dev/badge/skills/jeffsenso/prestashop-skills/create-playwright-page-objects.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 680 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.00680
Opus 5 $0.00026 $0.00340
Sonnet 5 $0.00010 $0.00136
Haiku 4.5 $0.00005 $0.00068

Measured 8d ago against content hash 63094c7cbbba, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

create-playwright-page-objects scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/prestashop-module-development/ps9-core-ai/Component/Playwright/skills/create-playwright-page-objects/SKILL.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

create-playwright-page-objects

Read @.ai/Component/Playwright/CONTEXT.md for the POM pattern and ui-testing-library architecture.

Page objects live in the ui-testing-library, not in the core repo.

1. Listing page object

Create bo{Domain}Page (extends the appropriate BO base page):

  • Selectors: grid table, filter inputs, bulk action checkboxes, row action buttons, toggle switches, pagination
  • Methods: all return values, never assert
    • getNumberOfElementInGrid(page): Promise<number>
    • filterTable(page, filterBy, value): Promise<void>
    • resetAndGetNumberOfLines(page): Promise<number>
    • getTextColumn(page, row, column): Promise<string>
    • goToAddNewPage(page): Promise<void>
    • goToEditPage(page, row): Promise<void>
    • deleteRow(page, row): Promise<string> — returns alert text
    • bulkAction(page, action): Promise<string> — returns alert text
    • getToggleColumnValue(page, row): Promise<boolean>
    • setToggleColumnValue(page, row, value): Promise<string>

Selector naming: {name}{Type} camelCase — e.g. gridTable, filterNameInput, bulkActionDropdownButton, confirmDeleteButton

2. Create/Edit page object

Create bo{Domain}CreatePage (extends BO base page):

  • Selectors: form inputs, dropdowns, file uploads, save button, tab navigation (if tabs)
  • Methods:
    • createEdit{Domain}(page, data): Promise<string> — fills all fields, clicks save, returns alert text
    • getPageTitle(page): Promise<string>
    • getValue(page, inputName): Promise<string> — for verification after reload
  • Properties:
    • pageTitleCreate: string — expected page title for create mode
    • pageTitleEdit: string — expected page title for edit mode
    • successfulCreationMessage: string
    • successfulUpdateMessage: string

3. Conventions

See Playwright/CONTEXT.md for POM conventions (never assert, selector naming, inheritance, library location). Skill-specific reminders:

Read the full file on GitHub · 60 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 60 lines · 51 tokens per session scan A 63094c7cbbba

Subscribe to this mod's changes

create-playwright-page-objects is a skill published in the GitHub repository jeffsenso/prestashop-skills (5 stars, last pushed 14d ago), licensed MIT. It adds 51 tokens to every session and 680 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

133-java-testing-acceptance-tests

Use when you need to implement acceptance tests from maintainer-sanitized Gherkin scenario facts for framework-agnostic Java (no Spring Boot, Quarkus, Micronaut) — confirming @acceptance scenarios before coding, happy path with RestAssured, DB/Kafka test fixtures, WireMock for external REST only, and AT classes run by…

jabrena/plinth · 142 tokens

323-frameworks-spring-boot-testing-acceptance-tests

Use when you need to implement acceptance tests from maintainer-authored or maintainer-sanitized Gherkin scenario facts for Spring Boot applications — including selecting scenarios tagged @acceptance, implementing happy path tests with TestRestTemplate, @SpringBootTest, Testcontainers with @ServiceConnection for…

jabrena/plinth · 156 tokens

423-frameworks-quarkus-testing-acceptance-tests

Use when you need to implement acceptance tests from maintainer-sanitized Gherkin scenario facts for Quarkus applications — including @acceptance scenarios, @QuarkusTest, BaseAcceptanceTest with QuarkusTestResourceLifecycleManager for Testcontainers and WireMock, REST Assured for full HTTP pipeline testing, WireMock…

jabrena/plinth · 219 tokens

132-java-testing-integration-testing

Use when you need to set up, review, or improve Java integration tests — including generating a BaseIntegrationTest.java with WireMock for HTTP stubs, detecting HTTP client infrastructure from import signals, injecting service coordinates dynamically via System.setProperty(), creating WireMock JSON mapping files with…

jabrena/plinth · 155 tokens

322-frameworks-spring-boot-testing-integration-tests

Use when you need to write or improve integration tests — including Testcontainers with @ServiceConnection, @DataJdbcTest persistence slices, TestRestTemplate or MockMvcTester for HTTP, data isolation, and container lifecycle management for Spring Boot 4.0.x. This should trigger for requests such as Review Java code…

jabrena/plinth · 123 tokens

422-frameworks-quarkus-testing-integration-tests

Use when you need to write or improve integration tests for Quarkus — including @QuarkusTest, Dev Services for automatic container provisioning, Testcontainers via QuarkusTestResourceLifecycleManager, WireMock for external HTTP stubs, @QuarkusIntegrationTest for black-box testing against packaged artifacts, REST…

jabrena/plinth · 190 tokens