Skip to content

Conversation

@nasif-z
Copy link
Collaborator

@nasif-z nasif-z commented Feb 9, 2026

Experimental

This PR is currently meant to experiment with Playwright Web actions in order to compare its performance with Selenium.

  • Converts several action handling and driver functions from synchronous to async. Thorough testing recommended before merging into dev.
  • Everything runs in the main async event loop, no additional loops are created.
  • All existing synchronous actions continue to work as usual.

Fixed bugs

Fixed a few bugs in the initial Claude-generated code for Playwright web actions.

  • Go to Link action not executing the open browser action automatically in case a browser is not already open
  • Open browser action defaulting to headless mode
  • Partial text match not working in one case

Tested Actions/Functions

  1. Open Browser
  2. Go to Link
  3. Enter Text
  4. Click Element
  5. Locate Element

Known issues

  1. Automatic action screenshots are not working and throws a driver error.
  2. Need to download browser with playwright install chromium every time Node is launched.

Note

Need to write playwright action in the action name instead of selenium action.

Sample test case: TEST-12438

@nasif-z nasif-z self-assigned this Feb 9, 2026
@nasif-z nasif-z added bug Something isn't working action-web do-not-merge labels Feb 9, 2026
@nasif-z nasif-z changed the title Playwright Web Actions Async Action Support: Convert Node internal functions with async/await Feb 9, 2026
@sazid
Copy link
Member

sazid commented Feb 9, 2026

@claude Review the changes and suggest additional improvements - specially in regards to if something was missed with async/await.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action-web bug Something isn't working do-not-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants