Commit Graph

18 Commits

Author SHA1 Message Date
Tommy D. Rossi d593e20a3c new getcdpsession 2025-12-16 19:40:58 +01:00
Tommy D. Rossi bf9c80bad0 release: playwriter 0.0.18 2025-12-13 18:07:35 +01:00
Tommy D. Rossi 1f265a0270 update changelog for 0.0.17 CDP tests and test refactoring 2025-12-11 17:30:17 +01:00
Tommy D. Rossi 6a864cc40f changed logFilePath. add more CDP tests 2025-12-11 17:29:36 +01:00
Tommy D. Rossi 57e63bbc12 fix stagehand timeout - send attachedToTarget after attachToTarget returns (0.0.16) 2025-12-08 15:41:47 +01:00
Tommy D. Rossi 7d66507299 bump playwriter to 0.0.15 - fix logger safety 2025-12-08 15:35:18 +01:00
Tommy D. Rossi 3900f5e49f bump playwriter to 0.0.14 2025-12-08 15:32:01 +01:00
Tommy D. Rossi 30d3a84494 fix: use os.homedir() for Windows compatibility 2025-11-28 17:21:55 +01:00
Tommy D. Rossi 3ce41b0263 chore: bump playwriter to 0.0.12 2025-11-28 17:16:28 +01:00
Tommy D. Rossi 7588e2a54c fix: page.url() returning empty after extension runs for a while
Target.targetInfoChanged handler was updating parent page's cached
targetInfo with child target info (service workers, iframes) because
it looked up targets by sessionId instead of targetId.

Now correctly iterates connectedTargets to find matching targetId.
2025-11-25 12:55:35 +01:00
Tommy D. Rossi 4ebfdaab36 add browser console log capture and fix test contamination
- Add getLatestLogs function to capture and retrieve browser console logs
- Support filtering by page, search string/regex, and count limit
- Add clearAllLogs function to prevent log persistence across tests
- Make console listeners synchronous using page _guid for immediate capture
- Add critical test verifying extension reconnection after disconnectEverything
- Preserve console logs across browser reconnections for stability
2025-11-24 15:30:23 +01:00
Tommy D. Rossi 71c1c75359 chore: update changelog, bump versions and refine tests 2025-11-22 11:59:48 +01:00
Tommy D. Rossi 35dbcab181 feat: add getLocatorStringForElement and fix timeout in getCurrentPage 2025-11-21 22:27:48 +01:00
Tommy D. Rossi 83025d7783 Bump playwriter to 0.0.7 2025-11-16 15:01:13 +01:00
Tommy D. Rossi e043f5b1d4 Release playwriter 0.0.6 2025-11-16 14:41:01 +01:00
Tommy D. Rossi 3a1de6d9c7 bump playwriter to 0.0.5 2025-11-16 12:19:07 +01:00
Tommy D. Rossi a07d75ebf3 release 2025-11-16 11:58:30 +01:00
Tommy D. Rossi 650345f47a copy from holocron 2025-11-13 19:24:50 +01:00