Skip to content

Add Playwright support as alternative web automation driver#655

Merged
riz-hossain merged 1 commit intodevfrom
claude/review-repo-contents-ddPPA
Feb 4, 2026
Merged

Add Playwright support as alternative web automation driver#655
riz-hossain merged 1 commit intodevfrom
claude/review-repo-contents-ddPPA

Conversation

@riz-hossain
Copy link
Contributor

Implements complete Playwright integration allowing users to switch from Selenium to Playwright by changing "selenium action" to "playwright action" in test steps while keeping all element parameters identical.

Key features:

  • Native Playwright Locator API for faster execution with auto-wait
  • Full support for all existing element parameters (parent, child, sibling, etc.)
  • Parameter compatibility: use js -> force, delay -> type delay, etc.
  • Playwright-specific features: tracing, network interception
  • Shared xpath/css query building with Playwright-native execution

New files:

  • Web/Playwright/BuiltInFunctions.py - All action implementations
  • Web/Playwright/locator.py - Element location with native Playwright API
  • action_declarations/playwright.py - Action declarations

https://claude.ai/code/session_01VibqKxxfPc8Npuk5tXfvCf

PR Type

PR_TYPE

PR Checklist

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made.
  • Version number has been updated.
  • Required modules have been added to respective "requirements*.txt" files.
  • Relevant Test Cases added to this description (below).
  • (Team) Label with affected action categories and semver status.

Overview

Test Cases

Implements complete Playwright integration allowing users to switch from
Selenium to Playwright by changing "selenium action" to "playwright action"
in test steps while keeping all element parameters identical.

Key features:
- Native Playwright Locator API for faster execution with auto-wait
- Full support for all existing element parameters (parent, child, sibling, etc.)
- Parameter compatibility: use js -> force, delay -> type delay, etc.
- Playwright-specific features: tracing, network interception
- Shared xpath/css query building with Playwright-native execution

New files:
- Web/Playwright/BuiltInFunctions.py - All action implementations
- Web/Playwright/locator.py - Element location with native Playwright API
- action_declarations/playwright.py - Action declarations

https://claude.ai/code/session_01VibqKxxfPc8Npuk5tXfvCf
@riz-hossain riz-hossain merged commit ce4d72b into dev Feb 4, 2026
6 checks passed
@riz-hossain riz-hossain deleted the claude/review-repo-contents-ddPPA branch February 4, 2026 12:09
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

Comments