pyplaykit 1.48.1__tar.gz → 1.49.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (518) hide show
  1. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/CHANGELOG.md +24 -0
  2. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/CLAUDE.md +1 -0
  3. {pyplaykit-1.48.1/pyplaykit.egg-info → pyplaykit-1.49.0}/PKG-INFO +3 -1
  4. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/README.md +2 -0
  5. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/config/config.yaml +11 -0
  6. pyplaykit-1.49.0/docs/REMOTE_BROWSERS.md +127 -0
  7. pyplaykit-1.49.0/docs/REMOTE_BROWSERS_SPIKE.md +164 -0
  8. pyplaykit-1.49.0/docs/REMOTE_BROWSERS_WBS.md +135 -0
  9. pyplaykit-1.49.0/docs/adr/0020-remote-browser-session-scope.md +52 -0
  10. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/README.md +1 -0
  11. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/cli.py +2 -0
  12. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/config/config.yaml +11 -0
  13. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/core/browser_factory.py +13 -1
  14. pyplaykit-1.49.0/pyplaykit/core/remote_browser.py +370 -0
  15. pyplaykit-1.49.0/pyplaykit/docs/REMOTE_BROWSERS.md +127 -0
  16. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/plugin.py +57 -12
  17. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/observability.py +5 -1
  18. {pyplaykit-1.48.1 → pyplaykit-1.49.0/pyplaykit.egg-info}/PKG-INFO +3 -1
  19. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit.egg-info/SOURCES.txt +7 -0
  20. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyproject.toml +1 -1
  21. pyplaykit-1.49.0/spikes/remote_browsers/README.md +37 -0
  22. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/.github/copilot-instructions.md +0 -0
  23. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/.github/prompts/review-execution-plan-and-implement-next-task.prompt.md +0 -0
  24. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/.github/prompts/run-unit-tests-and-coverage.prompt.md +0 -0
  25. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/.github/prompts/security-audit-and-consolidated-report.prompt.md +0 -0
  26. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/CHOOSE_YOUR_STRUCTURE.md +0 -0
  27. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/COLUMN_MAPPING_AND_IGNORE_FIELDS_GUIDE.md +0 -0
  28. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/COMMANDS_FOR_YOUR_PROJECTS.md +0 -0
  29. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/COMMIT_SUMMARY.md +0 -0
  30. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/CONTRIBUTING.md +0 -0
  31. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/CORRECTED_PROJECT_NAMES.md +0 -0
  32. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/DATABASE_IMPLEMENTATION_SUMMARY.md +0 -0
  33. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/DELIVERABLES_SUMMARY.md +0 -0
  34. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/ENTERPRISE_TEST_STRUCTURE.md +0 -0
  35. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/FINAL_PROJECT_SETUP.md +0 -0
  36. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/GAP_TRACKER.md +0 -0
  37. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/HOW_TO_ACCESS_DOCS.md +0 -0
  38. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/INIT_COMMAND_EXAMPLES.md +0 -0
  39. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/KEY_BASED_MATCHING_SOLUTION.md +0 -0
  40. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/MANIFEST.in +0 -0
  41. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/MIGRATION_COMPLETE.md +0 -0
  42. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/MIGRATION_PLAN.md +0 -0
  43. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/PIP_INSTALL_GUIDE.md +0 -0
  44. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/PYPLAYKIT_CLIENT_OVERVIEW.md +0 -0
  45. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/QUICK_DB_REFERENCE.md +0 -0
  46. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/QUICK_REFERENCE_COMPARISON_FEATURES.md +0 -0
  47. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/QUICK_START_QE.md +0 -0
  48. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/STRUCTURE_COMPARISON.md +0 -0
  49. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/TEST_LOCATION_CHEATSHEET.md +0 -0
  50. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/VISUAL_COMPARISON.md +0 -0
  51. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/WINDOWS_INSTALL_GUIDE.md +0 -0
  52. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/YOUR_PROJECTS_IMPLEMENTATION_GUIDE.md +0 -0
  53. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/YOUR_SETUP_SUMMARY.md +0 -0
  54. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/bin/README.md +0 -0
  55. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/components/__init__.py +0 -0
  56. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/config/data_comparison_profiles.yaml +0 -0
  57. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/config/devices.yaml +0 -0
  58. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/config/environments.yaml +0 -0
  59. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/config/projects/customs_modernization.yaml +0 -0
  60. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/config/projects/device_lab.yaml +0 -0
  61. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/config/projects/dispatcho.yaml +0 -0
  62. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/config/projects/timelyquote.yaml +0 -0
  63. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/core/__init__.py +0 -0
  64. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/dashboards/README.md +0 -0
  65. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/dashboards/data_validation_dashboard.json +0 -0
  66. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/dashboards/docker-compose.yml +0 -0
  67. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/dashboards/engineering_dashboard.json +0 -0
  68. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/dashboards/executive_qe_dashboard.json +0 -0
  69. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/dashboards/grafana-provisioning/dashboards/pyplaykit.yaml +0 -0
  70. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/dashboards/prometheus.yml +0 -0
  71. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/dashboards/release_quality_dashboard.json +0 -0
  72. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/dashboards/test_health_dashboard.json +0 -0
  73. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/demo/README.md +0 -0
  74. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/demo/device_lab/README.md +0 -0
  75. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/demo/dispensing_lab/README.md +0 -0
  76. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/demo/functional/database/file_comparison/README.md +0 -0
  77. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/demo/functional/database/postgres_src_tgt/README.md +0 -0
  78. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/demo/reader_lab/README.md +0 -0
  79. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/dist_pkg/__init__.py +0 -0
  80. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/AGENT_AUTHORING_GUIDE.md +0 -0
  81. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/API_TESTING_GUIDE.md +0 -0
  82. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/APP_AUTOMATION_WBS.md +0 -0
  83. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/ARCHITECTURE.md +0 -0
  84. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/CI_INTEGRATION.md +0 -0
  85. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/CLI_REFERENCE.md +0 -0
  86. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/COMPETITIVE_ANALYSIS.md +0 -0
  87. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/COVERAGE_IMPROVEMENTS.md +0 -0
  88. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/CUSTOMER_SCENARIOS.md +0 -0
  89. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/DATABASE_SUPPORT.md +0 -0
  90. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/DATA_VALIDATION_GUIDE.md +0 -0
  91. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/DELIVERABLES_INDEX.md +0 -0
  92. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/DEVICE_AUTOMATION_WBS.md +0 -0
  93. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/EXAMPLE_TESTS_SUMMARY.md +0 -0
  94. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/Enterprise-Framework-Assessment-REVISED.md +0 -0
  95. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/Enterprise-Readiness-Assessment.md +0 -0
  96. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/Example-Tests-Guide.md +0 -0
  97. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/Execution-Plan-Backlog-and-Closure-Tracker.md +0 -0
  98. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/FRAMEWORK_CONTRIBUTION_GUIDE.md +0 -0
  99. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/KT/01_ARCHITECTURE.md +0 -0
  100. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/KT/02_DEPLOYMENT_RUNBOOK.md +0 -0
  101. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/KT/03_ACCESS_MATRIX.md +0 -0
  102. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/KT/04_CLIENT_CONTACT_MATRIX.md +0 -0
  103. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/KT/05_OPEN_RISKS_REGISTER.md +0 -0
  104. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/KT/06_PENDING_ENHANCEMENTS.md +0 -0
  105. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/KT/07_PRODUCT_ROADMAP.md +0 -0
  106. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/KT/08_ENVIRONMENT_DETAILS.md +0 -0
  107. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/KT/09_OPERATIONAL_SOPS.md +0 -0
  108. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/KT/10_ESCALATION_MATRIX.md +0 -0
  109. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/KT/11_KT_RECORDINGS_INDEX.md +0 -0
  110. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/KT/12_REVERSE_KT_SIGNOFF.md +0 -0
  111. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/KT/13_LEADERSHIP_SIGNOFF.md +0 -0
  112. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/KT/README.md +0 -0
  113. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/LINUX_UI_AUTOMATION_SPIKE.md +0 -0
  114. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/MCP_SERVER_DESIGN.md +0 -0
  115. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/MULTI_DB_VALIDATION_GUIDE.md +0 -0
  116. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/MULTI_PROJECT_STRUCTURE.md +0 -0
  117. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/OBSERVABILITY.md +0 -0
  118. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/PIP_INSTALL_GUIDE.md +0 -0
  119. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/PLUGIN_AUTHORING_GUIDE.md +0 -0
  120. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/PyPlayKit-Framework-Overview.md +0 -0
  121. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/PyPlayKit-Usage-Scenarios.md +0 -0
  122. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/QE_AGENTS_CAPABILITY_INVENTORY.md +0 -0
  123. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/QE_AGENTS_DESIGN.md +0 -0
  124. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/QE_AGENTS_GUIDE.md +0 -0
  125. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/QE_AGENTS_SPIKES.md +0 -0
  126. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/QE_AGENTS_THREAT_MODEL.md +0 -0
  127. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/QE_AGENT_PLATFORM_EXPANSION.md +0 -0
  128. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/QE_VISUAL_GUIDE.md +0 -0
  129. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/QUALITY_GATE.md +0 -0
  130. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/RESILIENCE_GUIDE.md +0 -0
  131. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/RUN_TESTS_QUICK_REFERENCE.md +0 -0
  132. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/SECRETS_AND_GOVERNANCE.md +0 -0
  133. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/TEST_CREATION_PLAYGROUND.md +0 -0
  134. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/TEST_ORGANIZATION.md +0 -0
  135. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/Usage-Scenarios-Feasibility-Analysis.md +0 -0
  136. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0001-sync-device-api-with-background-io.md +0 -0
  137. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0002-devices-subpackage-and-layering.md +0 -0
  138. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0003-dut-naming-for-cli-config-and-fixtures.md +0 -0
  139. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0004-optional-dependencies-and-import-guards.md +0 -0
  140. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0005-single-source-device-pytest-plugin.md +0 -0
  141. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0006-agent-runtime-transport.md +0 -0
  142. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0007-agent-autonomy-and-scm-boundaries.md +0 -0
  143. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0008-agent-contract-and-versioning.md +0 -0
  144. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0009-host-mediation-and-enforcement-model.md +0 -0
  145. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0010-target-stack-adapters-and-result-normalization.md +0 -0
  146. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0011-generation-capability-registry.md +0 -0
  147. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0012-regression-test-selection-safety.md +0 -0
  148. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0013-agent-telemetry-and-data-handling.md +0 -0
  149. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0014-agents-adopt-vs-build.md +0 -0
  150. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0015-agent-release-lifecycle-and-registry.md +0 -0
  151. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0016-review-driven-amendments.md +0 -0
  152. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0017-agent-evaluation-baseline-then-threshold.md +0 -0
  153. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0018-change-intelligence-without-product-source.md +0 -0
  154. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/adr/0019-test-creation-from-test-cases-on-sandbox-branches.md +0 -0
  155. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/device_automation/DESIGN.md +0 -0
  156. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/device_automation/GUIDE.md +0 -0
  157. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/docs/device_automation/SPIKES.md +0 -0
  158. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/evals/conformance_fake/judges/summary_quality.md +0 -0
  159. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/integrations/__init__.py +0 -0
  160. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/mcp_server/__init__.py +0 -0
  161. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/orchestration/__init__.py +0 -0
  162. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pages/__init__.py +0 -0
  163. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/plugins/__init__.py +0 -0
  164. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/PIP_INSTALL_GUIDE.md +0 -0
  165. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/README.md +0 -0
  166. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/__init__.py +0 -0
  167. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/_aliases.py +0 -0
  168. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/__init__.py +0 -0
  169. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/__main__.py +0 -0
  170. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/assignments.py +0 -0
  171. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/audit.py +0 -0
  172. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/budgets.py +0 -0
  173. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/RELEASES.json +0 -0
  174. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/__init__.py +0 -0
  175. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/_common.py +0 -0
  176. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/change_intelligence/__init__.py +0 -0
  177. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/change_intelligence/agent.py +0 -0
  178. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/change_intelligence/agent.yaml +0 -0
  179. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/change_intelligence/conformance.yaml +0 -0
  180. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/change_intelligence/impact.py +0 -0
  181. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/change_intelligence/prompts/change_semantics.md +0 -0
  182. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/change_intelligence/prompts/regression_additions.md +0 -0
  183. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/change_intelligence/risk.py +0 -0
  184. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/change_intelligence/schemas/input.json +0 -0
  185. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/change_intelligence/schemas/output.json +0 -0
  186. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/change_intelligence/selection.py +0 -0
  187. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/execution_optimizer/__init__.py +0 -0
  188. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/execution_optimizer/agent.py +0 -0
  189. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/execution_optimizer/agent.yaml +0 -0
  190. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/execution_optimizer/planning.py +0 -0
  191. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/execution_optimizer/schemas/input.json +0 -0
  192. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/execution_optimizer/schemas/output.json +0 -0
  193. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_creation/__init__.py +0 -0
  194. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_creation/agent.py +0 -0
  195. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_creation/agent.yaml +0 -0
  196. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_creation/assemble.py +0 -0
  197. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_creation/layout.py +0 -0
  198. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_creation/prompts/generate_tests.md +0 -0
  199. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_creation/prompts/guide_api.md +0 -0
  200. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_creation/prompts/guide_db.md +0 -0
  201. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_creation/prompts/guide_device.md +0 -0
  202. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_creation/prompts/guide_ui.md +0 -0
  203. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_creation/schemas/input.json +0 -0
  204. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_creation/schemas/output.json +0 -0
  205. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_creation/testcases.py +0 -0
  206. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_review/__init__.py +0 -0
  207. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_review/agent.py +0 -0
  208. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_review/agent.yaml +0 -0
  209. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_review/prompts/test_intent.md +0 -0
  210. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_review/rules.py +0 -0
  211. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_review/schemas/input.json +0 -0
  212. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/builtin/test_review/schemas/output.json +0 -0
  213. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/cli.py +0 -0
  214. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/conformance/__init__.py +0 -0
  215. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/conformance/fake_agent/__init__.py +0 -0
  216. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/conformance/fake_agent/agent.py +0 -0
  217. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/conformance/fake_agent/agent.yaml +0 -0
  218. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/conformance/fake_agent/conformance.yaml +0 -0
  219. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/conformance/fake_agent/schemas/input.json +0 -0
  220. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/conformance/fake_agent/schemas/output.json +0 -0
  221. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/conformance/suite.py +0 -0
  222. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/contract.py +0 -0
  223. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/enforcement.py +0 -0
  224. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/errors.py +0 -0
  225. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/evals/__init__.py +0 -0
  226. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/evals/dataset.py +0 -0
  227. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/evals/gate.py +0 -0
  228. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/evals/harness.py +0 -0
  229. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/evals/scorers.py +0 -0
  230. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/host_tools.py +0 -0
  231. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/impact_map.py +0 -0
  232. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/llm/__init__.py +0 -0
  233. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/llm/anthropic.py +0 -0
  234. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/llm/base.py +0 -0
  235. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/llm/cache.py +0 -0
  236. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/llm/fake.py +0 -0
  237. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/llm/ollama.py +0 -0
  238. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/llm/openai_compat.py +0 -0
  239. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/llm/pricing.py +0 -0
  240. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/llm/recording.py +0 -0
  241. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/llm/routing.py +0 -0
  242. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/output.py +0 -0
  243. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/policy.py +0 -0
  244. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/read_tools.py +0 -0
  245. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/redaction.py +0 -0
  246. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/references.py +0 -0
  247. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/registry.py +0 -0
  248. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/release_checklist.py +0 -0
  249. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/releases.py +0 -0
  250. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/reports.py +0 -0
  251. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/runner.py +0 -0
  252. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/sandbox.py +0 -0
  253. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/schemas/1/agent-manifest.json +0 -0
  254. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/schemas/1/change-proposal.json +0 -0
  255. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/schemas/1/run-result.json +0 -0
  256. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/schemas/1/task-envelope.json +0 -0
  257. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/session.py +0 -0
  258. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/settings.py +0 -0
  259. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/stacks/__init__.py +0 -0
  260. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/stacks/base.py +0 -0
  261. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/stacks/environment.py +0 -0
  262. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/stacks/junit.py +0 -0
  263. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/stacks/python_pytest.py +0 -0
  264. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/stdio.py +0 -0
  265. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/stdio_runner.py +0 -0
  266. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/telemetry.py +0 -0
  267. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/agents/tools.py +0 -0
  268. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/components/__init__.py +0 -0
  269. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/components/base_component.py +0 -0
  270. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/components/data_table.py +0 -0
  271. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/components/form_field.py +0 -0
  272. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/components/modal.py +0 -0
  273. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/config/__init__.py +0 -0
  274. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/config/devices.yaml +0 -0
  275. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/config/environments.yaml +0 -0
  276. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/constraints.txt +0 -0
  277. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/core/__init__.py +0 -0
  278. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/core/base_page.py +0 -0
  279. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/core/base_test.py +0 -0
  280. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/core/playwright_manager.py +0 -0
  281. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/core/quality_gate.py +0 -0
  282. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/__init__.py +0 -0
  283. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/_extras.py +0 -0
  284. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/assertions.py +0 -0
  285. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/buffer.py +0 -0
  286. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/candb.py +0 -0
  287. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/channel.py +0 -0
  288. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/clock.py +0 -0
  289. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/commands.py +0 -0
  290. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/components.py +0 -0
  291. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/config.py +0 -0
  292. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/console.py +0 -0
  293. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/demo_examples.py +0 -0
  294. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/device.py +0 -0
  295. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/editor.html +0 -0
  296. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/editor.py +0 -0
  297. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/errors.py +0 -0
  298. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/events.py +0 -0
  299. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/factory.py +0 -0
  300. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/fault_proxy.py +0 -0
  301. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/faults.py +0 -0
  302. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/fidelity.py +0 -0
  303. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/gatt.py +0 -0
  304. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/introspect.py +0 -0
  305. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/inventory.py +0 -0
  306. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/leasing.py +0 -0
  307. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/matching.py +0 -0
  308. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/messages.py +0 -0
  309. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/parsers.py +0 -0
  310. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/pool.py +0 -0
  311. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/power.py +0 -0
  312. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/provider.py +0 -0
  313. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/pytest_plugin.py +0 -0
  314. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/recording.py +0 -0
  315. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/recovery.py +0 -0
  316. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/registers.py +0 -0
  317. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/__init__.py +0 -0
  318. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/ble.py +0 -0
  319. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/components.py +0 -0
  320. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/endpoints/__init__.py +0 -0
  321. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/endpoints/base.py +0 -0
  322. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/endpoints/ble.py +0 -0
  323. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/endpoints/can.py +0 -0
  324. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/endpoints/http.py +0 -0
  325. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/endpoints/modbus.py +0 -0
  326. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/endpoints/mqtt.py +0 -0
  327. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/endpoints/serial.py +0 -0
  328. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/endpoints/ssh.py +0 -0
  329. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/host.py +0 -0
  330. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/modbus.py +0 -0
  331. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/replay.py +0 -0
  332. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/scheduler.py +0 -0
  333. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/seed.py +0 -0
  334. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/sensor_faults.py +0 -0
  335. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/serve.py +0 -0
  336. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/signals.py +0 -0
  337. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/subprocess_twin.py +0 -0
  338. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/templating.py +0 -0
  339. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/twin.py +0 -0
  340. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/twins/__init__.py +0 -0
  341. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/twins/badge_access.py +0 -0
  342. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/twins/barcode_scanner.py +0 -0
  343. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/twins/energy_meter.py +0 -0
  344. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/twins/engine.dbc +0 -0
  345. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/twins/engine_ecu.py +0 -0
  346. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/twins/environment_sensor.yaml +0 -0
  347. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/twins/fingerprint_scanner.py +0 -0
  348. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/twins/heart_rate.py +0 -0
  349. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/twins/payment_terminal.py +0 -0
  350. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/twins/rfid_reader.py +0 -0
  351. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/twins/smart_plug.py +0 -0
  352. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/twins/thermostat.py +0 -0
  353. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/sim/yaml_twin.py +0 -0
  354. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/snmp.py +0 -0
  355. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/terminal.py +0 -0
  356. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/testing.py +0 -0
  357. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/transcript.py +0 -0
  358. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/transport.py +0 -0
  359. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/transports/__init__.py +0 -0
  360. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/transports/_async_bridge.py +0 -0
  361. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/transports/adb.py +0 -0
  362. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/transports/ble.py +0 -0
  363. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/transports/can.py +0 -0
  364. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/transports/coap.py +0 -0
  365. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/transports/http.py +0 -0
  366. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/transports/modbus.py +0 -0
  367. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/transports/mqtt.py +0 -0
  368. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/transports/serial.py +0 -0
  369. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/transports/ssh.py +0 -0
  370. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/transports/telnet.py +0 -0
  371. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/waiting.py +0 -0
  372. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/devices/yamlutil.py +0 -0
  373. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/dist_pkg/__init__.py +0 -0
  374. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/dist_pkg/distribution.py +0 -0
  375. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/AGENT_AUTHORING_GUIDE.md +0 -0
  376. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/API_TESTING_GUIDE.md +0 -0
  377. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/ARCHITECTURE.md +0 -0
  378. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/CI_INTEGRATION.md +0 -0
  379. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/CLI_REFERENCE.md +0 -0
  380. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/DATABASE_SUPPORT.md +0 -0
  381. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/DATA_VALIDATION_GUIDE.md +0 -0
  382. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/DEVICE_AUTOMATION_GUIDE.md +0 -0
  383. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/MCP_SERVER_DESIGN.md +0 -0
  384. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/MULTI_PROJECT_STRUCTURE.md +0 -0
  385. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/OBSERVABILITY.md +0 -0
  386. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/PLUGIN_AUTHORING_GUIDE.md +0 -0
  387. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/QE_AGENTS_GUIDE.md +0 -0
  388. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/QE_VISUAL_GUIDE.md +0 -0
  389. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/QUICK_START_QE.md +0 -0
  390. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/RESILIENCE_GUIDE.md +0 -0
  391. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/RUN_TESTS_QUICK_REFERENCE.md +0 -0
  392. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/SECRETS_AND_GOVERNANCE.md +0 -0
  393. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/TEST_CREATION_PLAYGROUND.md +0 -0
  394. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/TEST_ORGANIZATION.md +0 -0
  395. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/examples/testcases/api_posts.csv +0 -0
  396. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/examples/testcases/custom_columns.csv +0 -0
  397. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/examples/testcases/db_employees.csv +0 -0
  398. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/examples/testcases/device_thermostat.csv +0 -0
  399. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/examples/testcases/mixed_checkout.csv +0 -0
  400. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/examples/testcases/steps_per_row.csv +0 -0
  401. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs/examples/testcases/ui_login.csv +0 -0
  402. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/docs_export.py +0 -0
  403. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/extras.py +0 -0
  404. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/integrations/__init__.py +0 -0
  405. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/integrations/adapters.py +0 -0
  406. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/mcp_server/__init__.py +0 -0
  407. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/mcp_server/_ast_utils.py +0 -0
  408. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/mcp_server/_config_utils.py +0 -0
  409. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/mcp_server/cli.py +0 -0
  410. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/mcp_server/server.py +0 -0
  411. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/mcp_server/tools/__init__.py +0 -0
  412. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/mcp_server/tools/agent_tools.py +0 -0
  413. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/mcp_server/tools/device_tools.py +0 -0
  414. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/mcp_server/tools/package_discovery.py +0 -0
  415. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/mcp_server/tools/project_introspection.py +0 -0
  416. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/mcp_server/tools/project_state.py +0 -0
  417. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/orchestration/__init__.py +0 -0
  418. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/orchestration/enforcer.py +0 -0
  419. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/orchestration/planner.py +0 -0
  420. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/orchestration/selection.py +0 -0
  421. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/pages/__init__.py +0 -0
  422. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/pages/dashboard_page.py +0 -0
  423. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/pages/login_page.py +0 -0
  424. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/pages/orangehrm_login_page.py +0 -0
  425. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/pages/saucedemo_inventory_page.py +0 -0
  426. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/pages/saucedemo_login_page.py +0 -0
  427. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/plugins/__init__.py +0 -0
  428. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/plugins/_observer.py +0 -0
  429. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/plugins/_reference.py +0 -0
  430. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/plugins/api_plugin.py +0 -0
  431. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/plugins/base.py +0 -0
  432. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/plugins/data_plugin.py +0 -0
  433. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/plugins/manifest.py +0 -0
  434. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/plugins/registry.py +0 -0
  435. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/plugins/security_plugin.py +0 -0
  436. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/resilience/__init__.py +0 -0
  437. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/resilience/locator_recovery.py +0 -0
  438. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/show_docs.py +0 -0
  439. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/__init__.py +0 -0
  440. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/api_client.py +0 -0
  441. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/api_test_helper.py +0 -0
  442. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/assertion_helper.py +0 -0
  443. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/auth_manager.py +0 -0
  444. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/comparison_config_loader.py +0 -0
  445. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/contract/__init__.py +0 -0
  446. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/contract/pact_consumer.py +0 -0
  447. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/dashboard.py +0 -0
  448. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/data_comparison_report.py +0 -0
  449. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/data_comparison_utils.py +0 -0
  450. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/data_loader.py +0 -0
  451. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/data_source.py +0 -0
  452. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/data_validator.py +0 -0
  453. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/database_clients.py +0 -0
  454. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/db_client.py +0 -0
  455. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/db_drivers/__init__.py +0 -0
  456. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/db_drivers/db2.py +0 -0
  457. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/db_drivers/informix.py +0 -0
  458. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/db_drivers/mongodb.py +0 -0
  459. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/db_drivers/mysql.py +0 -0
  460. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/db_drivers/oracle.py +0 -0
  461. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/db_drivers/snowflake.py +0 -0
  462. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/db_drivers/sqlite.py +0 -0
  463. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/db_drivers/sqlserver.py +0 -0
  464. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/db_factory.py +0 -0
  465. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/db_fixtures.py +0 -0
  466. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/db_pool.py +0 -0
  467. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/db_validation_helper.py +0 -0
  468. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/environment_validator.py +0 -0
  469. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/file_reader.py +0 -0
  470. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/governance.py +0 -0
  471. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/graphql_client.py +0 -0
  472. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/logger.py +0 -0
  473. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/observability_report.py +0 -0
  474. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/org_governance.py +0 -0
  475. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/project_config.py +0 -0
  476. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/response_validator.py +0 -0
  477. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/screenshot_helper.py +0 -0
  478. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/secret_redaction.py +0 -0
  479. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/secrets/__init__.py +0 -0
  480. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/secrets/aws_provider.py +0 -0
  481. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/secrets/azure_provider.py +0 -0
  482. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/secrets/base.py +0 -0
  483. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/secrets/env_provider.py +0 -0
  484. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/secrets/vault_provider.py +0 -0
  485. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/soap_client.py +0 -0
  486. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/tdm.py +0 -0
  487. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/telemetry.py +0 -0
  488. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/telemetry_schema.py +0 -0
  489. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/transformation_validator.py +0 -0
  490. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/ui_db_validator.py +0 -0
  491. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/version_checker.py +0 -0
  492. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit/utils/yaml_config_reader.py +0 -0
  493. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit.egg-info/dependency_links.txt +0 -0
  494. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit.egg-info/entry_points.txt +0 -0
  495. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit.egg-info/requires.txt +0 -0
  496. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/pyplaykit.egg-info/top_level.txt +0 -0
  497. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/resilience/__init__.py +0 -0
  498. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/setup.cfg +0 -0
  499. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/spikes/device_automation/README.md +0 -0
  500. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/spikes/qe_agents/README.md +0 -0
  501. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/test_data/api/ecom/auth_payloads.json +0 -0
  502. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/test_data/api/ecom/product_payloads.json +0 -0
  503. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/test_data/api_test_data.json +0 -0
  504. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/test_data/data_validation_test_data.json +0 -0
  505. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/test_data/login_test_data.json +0 -0
  506. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/test_data/orangehrm_login_data.json +0 -0
  507. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/test_data/pacts/README.md +0 -0
  508. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/test_data/ui_test_data.json +0 -0
  509. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/tests/projects/README.md +0 -0
  510. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/tests/projects/customs_modernization/README.md +0 -0
  511. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/tests/projects/demo/functional/README.md +0 -0
  512. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/tests/projects/demo/functional/api/README.md +0 -0
  513. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/tests/projects/demo/functional/database/README.md +0 -0
  514. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/tests/projects/demo/functional/ui/README.md +0 -0
  515. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/tests/projects/demo/integration/README.md +0 -0
  516. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/tests/projects/dispatcho/README.md +0 -0
  517. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/tests/projects/timelyquote/README.md +0 -0
  518. {pyplaykit-1.48.1 → pyplaykit-1.49.0}/utils/__init__.py +0 -0
@@ -11,6 +11,30 @@ Versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
11
11
 
12
12
  ---
13
13
 
14
+ ## [1.49.0] — 2026-10-27
15
+
16
+ UI tests can run on BrowserStack (Chrome, Edge, Firefox, WebKit) or on a self-hosted Playwright server with one option, `--pyplaykit-remote`, and no change to tests or page objects. Remote execution is off by default; local runs are unchanged. Guide: `pyplaykit docs remote-browsers`.
17
+
18
+ ### Behaviour changes — check before upgrading
19
+
20
+ - **`browser` and `context` fixtures take `request`** (and `context` also `logger`). *What to do:* nothing if pytest injects them; tests that call the fixtures directly through `__wrapped__` must pass the extra arguments.
21
+ - **`execution.remote` in `config/config.yaml`** is a new block, `enabled: false`. *What to do:* nothing; copy it from the bundled config when you want remote runs.
22
+ - **A failed remote connect during setup is now recorded** in the observability reports, classified `infrastructure` (other setup errors are still not recorded). *What to do:* nothing.
23
+
24
+ ### Added
25
+
26
+ - **Run UI tests on BrowserStack or a Playwright server (US-23.1.1).** `--pyplaykit-remote browserstack` (or `PYPLAYKIT_REMOTE`, or `execution.remote.enabled: true`) connects to a remote browser instead of launching one; tests, page objects, screenshots and tracing are unchanged. `--pyplaykit-browser` maps to BrowserStack's `chrome`, `playwright-firefox` and `playwright-webkit`, and `execution.remote.capabilities` passes any BrowserStack capability (`edge`, OS, versions, build). Credentials come only from `BROWSERSTACK_USERNAME` / `BROWSERSTACK_ACCESS_KEY` (names configurable in `credentials_env`). `provider: playwright_server` connects to a self-hosted `ws://` endpoint.
27
+ - **Session scope.** `session_scope: test` (default) makes one BrowserStack session per test, named after it, with its pass/fail status and reason; `worker` shares one session per pytest-xdist worker with each test's result as an annotation (4 tests on 2 workers: 19 s instead of 41 s). See ADR-0020.
28
+ - **Failure artifacts and classification.** A failed test's BrowserStack dashboard and video links go to the log, the pytest-html report and the observability report (`failed_tests[].remote_session`); on a Playwright server the failure video is copied with `save_as()`. A remote browser that cannot be reached, refuses the credentials or goes away is classified `infrastructure`, also when the connect fails during setup.
29
+ - **Secrets stay in the process.** The access key is registered for redaction; capabilities are never logged; Playwright's errors are scrubbed of the key and capabilities, and the frames holding them are hidden from pytest tracebacks (also with `-l`); BrowserStack's `public_url` (a link that opens the session without logging in) is never stored.
30
+ - **`.github/workflows/browserstack.yml`**: a manual workflow that runs the SauceDemo smoke tests on BrowserStack, skipped with a notice when the secrets are not set. Guide: `docs/REMOTE_BROWSERS.md` (also `pyplaykit docs remote-browsers`).
31
+
32
+ ### Changed
33
+
34
+ - The `browser` and `context` fixtures take `request` (and `context` also `logger`); tests that call them directly through `__wrapped__` must pass them. Local runs behave as before.
35
+
36
+ ---
37
+
14
38
  ## [1.48.1] — 2026-10-27
15
39
 
16
40
  Fixes from a code review of the 1.33–1.48 changes: four security fixes in the QE agents and the CI security gate, three correctness fixes (regression selection, audit-log pruning, simulator shutdown), and a much faster `ignore_row_order` comparison. No new features.
@@ -106,6 +106,7 @@ Available pytest CLI options (registered in `conftest.py`):
106
106
  - `--pyplaykit-base-url` — override base URL
107
107
  - `--pyplaykit-readiness-check` — enable environment readiness checks before tests
108
108
  - `--pyplaykit-device` — Playwright device descriptor for mobile emulation (e.g. "iPhone 13", "Pixel 5")
109
+ - `--pyplaykit-remote` — Run UI tests on a remote browser: `browserstack` or `playwright_server` (settings in `execution.remote`, credentials from `BROWSERSTACK_USERNAME` / `BROWSERSTACK_ACCESS_KEY`); or PYPLAYKIT_REMOTE. See docs/REMOTE_BROWSERS.md
109
110
  - `--pyplaykit-quality-gate` — Enable quality gate; evaluate PASS/WARN/BLOCK verdicts at session end; exits with code 1 on BLOCK
110
111
  - `--pyplaykit-update-snapshots` — Overwrite visual regression baseline screenshots
111
112
  - `--pyplaykit-orchestration` — Enable suite dependency enforcement and ordered execution
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyplaykit
3
- Version: 1.48.1
3
+ Version: 1.49.0
4
4
  Summary: Enterprise Python + Playwright automation framework
5
5
  Author-email: Shan Konduru <shankonduru@gmail.com>
6
6
  License: MIT
@@ -514,6 +514,7 @@ Registered in `conftest.py`:
514
514
  - `--pyplaykit-base-url` — override base URL
515
515
  - `--pyplaykit-readiness-check` — enable environment readiness checks
516
516
  - `--pyplaykit-device` — Playwright device descriptor for mobile emulation (e.g. "iPhone 13")
517
+ - `--pyplaykit-remote` — run UI tests on BrowserStack (`browserstack`) or a Playwright server (`playwright_server`); settings in `execution.remote`, see [docs/REMOTE_BROWSERS.md](docs/REMOTE_BROWSERS.md)
517
518
  - `--pyplaykit-quality-gate` — enable quality gate; exits with code 1 on BLOCK verdict
518
519
  - `--pyplaykit-update-snapshots` — overwrite visual regression baselines
519
520
  - `--pyplaykit-orchestration` — enable suite dependency enforcement
@@ -1039,6 +1040,7 @@ Each project config includes:
1039
1040
  - v1.47.0: lost HTTP replies for twins (`SimDevice.drop_http_replies`); `python -m` for the deprecated module names; a slow MQTT broker shutdown no longer fails a run; dispensing demo and detailed Studio suites in the repository
1040
1041
  - v1.48.0: `scripts/run_dispensing_studio.bat`/`.sh` open the Device Lab Studio on the dispensing stations; the Studio opens on any device (`--focus <dut>`, `#<dut>`)
1041
1042
  - v1.48.1: code-review fixes — the agent sandbox refuses patches that write outside its writable paths, redaction masks dictionary keys, the security gate fails on a malformed pip-audit report, regression selection runs the full suite when data or fixture files change, audit-log pruning and simulator shutdown fixed, `ignore_row_order` matching much faster on large sheets
1043
+ - v1.49.0: UI tests on BrowserStack or a Playwright server (`--pyplaykit-remote`, `execution.remote`), one session per test or per worker, failure links to BrowserStack's video and logs, remote errors classified as infrastructure, credentials never logged (US-23.1.1, ADR-0020)
1042
1044
  - v1.36.0: agent governance and safety — policy through org governance, redaction, audit log, tool tiers, enforcement model
1043
1045
  - v1.35.0: agent observability — GenAI traces, `agent.*` events and `pyplaykit_agent_*` metrics, run log and reports
1044
1046
  - v1.34.0: LLM layer — provider-neutral requests, Anthropic / OpenAI-compatible / Ollama adapters, fake and record/replay clients, model tiers with fallback and retries, budgets, cost and a response cache. No built-in agents ship yet.
@@ -339,6 +339,7 @@ Registered in `conftest.py`:
339
339
  - `--pyplaykit-base-url` — override base URL
340
340
  - `--pyplaykit-readiness-check` — enable environment readiness checks
341
341
  - `--pyplaykit-device` — Playwright device descriptor for mobile emulation (e.g. "iPhone 13")
342
+ - `--pyplaykit-remote` — run UI tests on BrowserStack (`browserstack`) or a Playwright server (`playwright_server`); settings in `execution.remote`, see [docs/REMOTE_BROWSERS.md](docs/REMOTE_BROWSERS.md)
342
343
  - `--pyplaykit-quality-gate` — enable quality gate; exits with code 1 on BLOCK verdict
343
344
  - `--pyplaykit-update-snapshots` — overwrite visual regression baselines
344
345
  - `--pyplaykit-orchestration` — enable suite dependency enforcement
@@ -864,6 +865,7 @@ Each project config includes:
864
865
  - v1.47.0: lost HTTP replies for twins (`SimDevice.drop_http_replies`); `python -m` for the deprecated module names; a slow MQTT broker shutdown no longer fails a run; dispensing demo and detailed Studio suites in the repository
865
866
  - v1.48.0: `scripts/run_dispensing_studio.bat`/`.sh` open the Device Lab Studio on the dispensing stations; the Studio opens on any device (`--focus <dut>`, `#<dut>`)
866
867
  - v1.48.1: code-review fixes — the agent sandbox refuses patches that write outside its writable paths, redaction masks dictionary keys, the security gate fails on a malformed pip-audit report, regression selection runs the full suite when data or fixture files change, audit-log pruning and simulator shutdown fixed, `ignore_row_order` matching much faster on large sheets
868
+ - v1.49.0: UI tests on BrowserStack or a Playwright server (`--pyplaykit-remote`, `execution.remote`), one session per test or per worker, failure links to BrowserStack's video and logs, remote errors classified as infrastructure, credentials never logged (US-23.1.1, ADR-0020)
867
869
  - v1.36.0: agent governance and safety — policy through org governance, redaction, audit log, tool tiers, enforcement model
868
870
  - v1.35.0: agent observability — GenAI traces, `agent.*` events and `pyplaykit_agent_*` metrics, run log and reports
869
871
  - v1.34.0: LLM layer — provider-neutral requests, Anthropic / OpenAI-compatible / Ollama adapters, fake and record/replay clients, model tiers with fallback and retries, budgets, cost and a response cache. No built-in agents ship yet.
@@ -21,6 +21,17 @@ execution:
21
21
  width: 1440
22
22
  height: 900
23
23
  device: null # Playwright device descriptor for mobile emulation (e.g. "iPhone 13"). null = desktop.
24
+ remote: # run UI tests on a remote browser (US-23.1.1; docs/REMOTE_BROWSERS.md). Off by default;
25
+ enabled: false # --pyplaykit-remote <provider> or PYPLAYKIT_REMOTE also switches it on for one run.
26
+ provider: "browserstack" # browserstack | playwright_server
27
+ ws_endpoint: "" # playwright_server only: ws://host:port/
28
+ session_scope: "test" # test: one session per test | worker: one per pytest-xdist worker
29
+ connect_timeout_s: 300 # macOS (WebKit) sessions can take minutes to start
30
+ credentials_env: # names of the environment variables, never the values
31
+ username: "BROWSERSTACK_USERNAME"
32
+ access_key: "BROWSERSTACK_ACCESS_KEY"
33
+ capabilities: {} # BrowserStack capabilities, e.g. os, os_version, browser_version,
34
+ # build, project; browser defaults from --pyplaykit-browser
24
35
 
25
36
  reporting:
26
37
  allure_results_dir: "reports/allure-results"
@@ -0,0 +1,127 @@
1
+ # Remote browsers: BrowserStack and Playwright servers
2
+
3
+ Run the same UI tests on BrowserStack's browsers, or on a Playwright server you host, without changing a test
4
+ or a page object. The framework connects to the remote browser instead of launching one; contexts, pages,
5
+ `BasePage`, screenshots and tracing work exactly as locally.
6
+
7
+ Remote execution is **off by default**. A run without it launches local browsers as before.
8
+
9
+ ## Quick start (BrowserStack)
10
+
11
+ 1. Put your BrowserStack username and **access key** (Account → Settings, not your login password) in the
12
+ environment or in `.env`:
13
+
14
+ ```bash
15
+ BROWSERSTACK_USERNAME=your_user
16
+ BROWSERSTACK_ACCESS_KEY=your_access_key
17
+ ```
18
+
19
+ 2. Run any UI tests with `--pyplaykit-remote browserstack`:
20
+
21
+ ```bash
22
+ pytest tests/demo/functional/ui -m smoke --pyplaykit-remote browserstack
23
+ pytest tests/demo/functional/ui -m smoke --pyplaykit-remote browserstack --pyplaykit-browser webkit
24
+ ```
25
+
26
+ `PYPLAYKIT_REMOTE=browserstack` does the same, which is handy in CI. Each test shows up on the BrowserStack
27
+ Automate dashboard under one build, named after the test, with its pass/fail status.
28
+
29
+ ## Configuration
30
+
31
+ `execution.remote` in `config/config.yaml` (the CLI switch turns it on for one run; `enabled: true` turns it
32
+ on for every run):
33
+
34
+ ```yaml
35
+ execution:
36
+ browser: "chromium" # chromium -> chrome, firefox -> playwright-firefox, webkit -> playwright-webkit
37
+ remote:
38
+ enabled: false
39
+ provider: "browserstack" # browserstack | playwright_server
40
+ ws_endpoint: "" # playwright_server only: ws://host:port/
41
+ session_scope: "test" # test | worker (see below)
42
+ connect_timeout_s: 300 # macOS (WebKit) sessions can take minutes to start
43
+ credentials_env: # names of the environment variables, never the values
44
+ username: "BROWSERSTACK_USERNAME"
45
+ access_key: "BROWSERSTACK_ACCESS_KEY"
46
+ capabilities: {} # any BrowserStack capability
47
+ ```
48
+
49
+ **Capabilities.** Anything in `capabilities` goes to BrowserStack as is. The framework fills in what is not
50
+ set:
51
+
52
+ | Capability | Default |
53
+ |---|---|
54
+ | `browser` | from `--pyplaykit-browser`: `chrome`, `playwright-firefox`, `playwright-webkit`; set `edge` or `playwright-chromium` here |
55
+ | `browser_version` | `latest` |
56
+ | `os` / `os_version` | `OS X` / `Sonoma` for WebKit, else `Windows` / `11` |
57
+ | `name` | the test's node id (`test` scope) or `pyplaykit <worker>` (`worker` scope) |
58
+ | `build` | `build`, else the CI run (`GITHUB_RUN_ID`, `BUILD_TAG`, `BUILD_BUILDID`, `CI_PIPELINE_ID`), else the pytest-xdist run, else a timestamp; every session of one run shares it |
59
+ | `client.playwrightVersion` | the installed Playwright |
60
+
61
+ Credentials are never accepted in `capabilities` (`browserstack.username` / `browserstack.accessKey` are
62
+ refused); name your variables in `credentials_env` instead, for example when your `.env` already uses
63
+ other names.
64
+
65
+ **A self-hosted Playwright server** (`npx playwright run-server --port 3000`, or a grid that speaks the
66
+ Playwright protocol):
67
+
68
+ ```yaml
69
+ execution:
70
+ remote:
71
+ enabled: true
72
+ provider: "playwright_server"
73
+ ws_endpoint: "ws://playwright-grid.internal:3000/"
74
+ ```
75
+
76
+ ## Session scope: one session per test, or per worker
77
+
78
+ Every `connect()` to BrowserStack starts a **session**, which takes a few seconds (2.6–7 s measured; macOS can
79
+ take a minute or more) and counts against the account's parallel limit.
80
+
81
+ | | `session_scope: test` (default) | `session_scope: worker` |
82
+ |---|---|---|
83
+ | Sessions | one per test | one per pytest-xdist worker |
84
+ | Isolation | own browser and context per test | own context per test (cookies, storage), shared browser |
85
+ | BrowserStack status | per test, with the first error line | per worker: failed if any of its tests failed; each test's result is an annotation in the session |
86
+ | Video | one per test | one per worker, covering all its tests |
87
+ | 4 tests, 2 workers (measured) | 41 s | 19 s |
88
+
89
+ `test` keeps the dashboard exact; `worker` is for large suites where session start-up dominates. pytest's own
90
+ results and reports are per test in both. The trade-off is recorded in
91
+ [ADR-0020](adr/0020-remote-browser-session-scope.md).
92
+
93
+ ## Failure artifacts
94
+
95
+ - **Screenshots** are taken as locally (`reports/screenshots/`).
96
+ - **Videos.** BrowserStack ignores `record_video_dir` and records every session itself. For a failed test the
97
+ framework logs the session's dashboard and video links, adds them to the pytest-html report, and writes them
98
+ to the observability report (`failed_tests[].remote_session`). The links need a BrowserStack login.
99
+ On a `playwright_server`, the failure video is copied to `video_dir` with `save_as()`.
100
+ - **Classification.** A remote browser that cannot be reached, refuses the credentials, has no free session
101
+ within `connect_timeout_s`, or goes away mid-test is an `infrastructure` failure, not an application or test
102
+ failure, also when it happens while the browser is being set up.
103
+
104
+ ## Secrets
105
+
106
+ - The access key is read only from the environment variable `credentials_env.access_key` names, and is
107
+ registered so the framework's redaction masks it.
108
+ - The capabilities (which carry the key) are never logged; endpoints appear without their query string;
109
+ errors from Playwright are scrubbed of the key and the capabilities, and the frames that hold them are
110
+ hidden from pytest tracebacks, also with `pytest -l`.
111
+ - BrowserStack's `public_url` (a session link with an `auth_token` that opens it **without logging in**) is
112
+ never stored; the links the framework keeps have their query strings removed.
113
+
114
+ ## CI
115
+
116
+ `.github/workflows/browserstack.yml` runs the SauceDemo smoke tests on BrowserStack on demand
117
+ (**Actions → BrowserStack Smoke → Run workflow**, choose the browser). It needs the repository secrets
118
+ `BROWSERSTACK_USERNAME` and `BROWSERSTACK_ACCESS_KEY`, and reports a notice and succeeds when they are not
119
+ set. It is manual only, since every test is a paid session; no browsers are installed on the runner.
120
+
121
+ ## Not covered yet
122
+
123
+ - **BrowserStack Local**, for applications that are not reachable from the internet.
124
+ - **Sauce Labs.** Its documented route (`SELENIUM_REMOTE_URL` to a Selenium grid) runs Chromium with no framework change; verified on a local grid, not yet on Sauce. See the spike.
125
+ - **Real mobile devices.** Device emulation (`--pyplaykit-device "iPhone 13"`) works on remote browsers.
126
+
127
+ Measurements and what was verified: [REMOTE_BROWSERS_SPIKE.md](REMOTE_BROWSERS_SPIKE.md).
@@ -0,0 +1,164 @@
1
+ # Remote browsers spike: BrowserStack (2026-10-27)
2
+
3
+ **Question.** Can PyPlayKit run its UI tests on a cloud browser grid, starting with BrowserStack, without
4
+ changing tests or page objects? What has to change in the framework, and what does BrowserStack add?
5
+
6
+ **Status.** Both phases done. Every check passes on a local Playwright server and on BrowserStack
7
+ (Chrome, Firefox and WebKit), with tests and page objects unchanged. The one artifact that does not carry
8
+ over is the local failure video; BrowserStack records its own. Scripts and how to run them:
9
+ [`spikes/remote_browsers/`](../spikes/remote_browsers/README.md).
10
+
11
+ ## Where the framework stands
12
+
13
+ PyPlayKit has no remote browser support today. `BrowserFactory.create_browser()`
14
+ (`pyplaykit/core/browser_factory.py`) always calls `browser_type.launch()`, and it is the only place a
15
+ browser is created: both `browser` fixtures (`pyplaykit/plugin.py` and the repository `conftest.py`) go
16
+ through it. Everything after that (contexts, pages, page objects, screenshots, tracing) works on a
17
+ `Browser` object and does not care where it came from. That is what the spike tested.
18
+
19
+ ## Phase 1: local Playwright server
20
+
21
+ `playwright run-server` on a free port, `BrowserType.connect("ws://127.0.0.1:<port>/")`, Playwright 1.54.0,
22
+ against saucedemo.com, using the framework's own `BrowserFactory.build_context_kwargs()`, the SauceDemo page
23
+ objects and `capture_screenshot()`.
24
+
25
+ | Check | Chromium 139 | Firefox 140 | WebKit 26 | Notes |
26
+ |---|---|---|---|---|
27
+ | `connect` | ok, 0.15 s | ok, 1.2 s | ok, 0.6 s | |
28
+ | Desktop context (`base_url`, viewport) | ok | ok | ok | relative `page.goto("/")` resolves against `base_url` |
29
+ | Device context (`iPhone 13` descriptor) | ok | ok* | ok | *`is_mobile` dropped for Firefox, as with a local launch |
30
+ | Page objects (`SauceDemoLoginPage.login`, inventory) | ok | ok | ok | unchanged page objects |
31
+ | `capture_screenshot()` | ok | ok | ok | PNG written on the client |
32
+ | Tracing (`context.tracing` → `trace.zip`) | ok | ok | ok | zip written on the client |
33
+ | Video (`record_video_dir`) | see below | see below | see below | |
34
+ | Locator round trip (20 reads) | median 7 ms | median 9 ms | median 9 ms | loopback; BrowserStack adds network latency per call |
35
+
36
+ Raw results: `spikes/remote_browsers/results/local-*.json`.
37
+
38
+ ## Phase 2: BrowserStack
39
+
40
+ `wss://cdp.browserstack.com/playwright`, the same checks, Playwright 1.54.0 on the client, Windows 11 for
41
+ Chrome and Firefox, macOS Sonoma for WebKit.
42
+
43
+ | Check | Chrome 156 | Playwright Firefox 155 | Playwright WebKit 18.2 | Notes |
44
+ |---|---|---|---|---|
45
+ | `connect` (session start) | ok, 6–7 s | ok, 7.2 s | ok, 2.6 s | a 1.54 client drives BrowserStack's newer browser builds |
46
+ | Desktop context | ok | ok (8.5 s, first navigation) | ok | |
47
+ | Device context (`iPhone 13`) | ok | ok* | ok | *`is_mobile` dropped, as locally |
48
+ | Page objects | ok | ok | ok | unchanged |
49
+ | `capture_screenshot()` | ok | ok | ok | PNG streamed to the client |
50
+ | Tracing | ok | ok | ok | zip streamed to the client |
51
+ | `setSessionStatus` / `getSessionDetails` | ok | ok | ok | pass/fail and session link on the dashboard |
52
+ | Video (`record_video_dir`) | no video | no video | no video | `page.video` is `None`; nothing in the folder |
53
+ | Locator round trip (20 reads) | median 38 ms | median 33 ms | median 31 ms | about 4–5× the loopback figures |
54
+
55
+ **Parallel sessions** (`spike_browserstack_parallel.py`): 5 Chrome sessions opened at once all came up in
56
+ about 6 s, none queued. The account's limit was not reached at 5; it was not probed further.
57
+
58
+ **What a session records.** `getSessionDetails` returns links to the session video, browser console log,
59
+ HAR, Playwright log and terminal logs, plus `public_url`, a dashboard link with an `auth_token` that opens
60
+ the session **without logging in**. The spike strips query strings before writing results; the framework
61
+ must do the same and treat `public_url` as a secret.
62
+
63
+ Raw results: `spikes/remote_browsers/results/browserstack-*.json`.
64
+
65
+ ## Findings
66
+
67
+ 1. **One seam is enough.** Swapping `launch()` for `connect(ws_endpoint)` in `BrowserFactory` gives the
68
+ fixtures a working `Browser`; the context kwargs, page objects, `BasePage` methods, screenshots and
69
+ tracing need no change.
70
+ 2. **Videos are the one artifact that breaks.** On a self-hosted Playwright server, `page.video.path()`
71
+ raises *"Path is not available when using browserType.connect(). Use save_as() to save a local copy."*
72
+ and `record_video_dir` is a path on the server. On BrowserStack, `record_video_dir` is ignored
73
+ altogether: `page.video` is `None`. The framework does not call `video.path()` today, but its failure
74
+ videos rely on `record_video_dir`, so on BrowserStack the failure report should link the session's
75
+ `video_url` instead (it records every session anyway), and on a self-hosted server use `save_as()`.
76
+ 3. **Each test pays a connect.** The `browser` fixture is function-scoped (one browser per test, for
77
+ isolation). Locally a connect costs 0.15–1.2 s; on BrowserStack each one starts a session, 2.6–7 s, and
78
+ each test is its own session on the dashboard. For a 300-test suite that is 15–35 minutes of session
79
+ start-up alone, spread over the parallel workers. A per-worker remote browser with a fresh context per
80
+ test keeps context isolation but makes one session per worker, so pass/fail per test would have to be
81
+ reported differently (BrowserStack's session status is per session). That trade-off is the main design
82
+ decision for the story.
83
+ 4. **`slow_mo` and `headless` do not carry over.** They are `launch()` options. On a grid the provider
84
+ decides headless; `slow_mo` is a `connect()` option and can be passed through.
85
+ 5. **Mobile emulation still works**, since it is a context option. Real mobile devices on BrowserStack are
86
+ a different product (Android over Playwright is limited, iOS real devices are not Playwright) and are out
87
+ of scope here.
88
+
89
+ ## Not covered
90
+
91
+ - `edge` and `playwright-chromium` on BrowserStack (same `chromium.connect` path as Chrome; not run).
92
+ - The account's parallel limit beyond 5 sessions, and what happens past it (queue or refusal).
93
+ - Apps that are not on the public internet: they need BrowserStack Local (`browserstack.local` cap and the
94
+ local binary). Check whether the internal QA environments need it.
95
+ - Real mobile devices; out of scope (see finding 5).
96
+
97
+ ## Proposed design
98
+
99
+ Planned as **US-23.1.1** in [REMOTE_BROWSERS_WBS.md](REMOTE_BROWSERS_WBS.md), which refines it.
100
+
101
+ - `config/config.yaml`: an `execution.remote` block (built as such in US-23.1.1), **disabled by default**: `provider` (`browserstack` |
102
+ `playwright_server`), `ws_endpoint` (for a self-hosted Playwright server or grid), `capabilities`
103
+ (merged with per-browser defaults), `credentials_env` (names of the environment variables, never values).
104
+ - `--pyplaykit-remote <provider>` CLI option to switch it on per run.
105
+ - `BrowserFactory.create_browser()` builds the endpoint and calls `connect()`; the capabilities are never
106
+ logged (they hold the access key).
107
+ - Session status set from `pytest_runtest_makereport`; the session's dashboard and `video_url` links
108
+ (query strings stripped, never `public_url` with its token) added to the failure artifacts and the
109
+ observability report; local failure video through `save_as()` only on a self-hosted server.
110
+ - Credentials from `BROWSERSTACK_USERNAME` / `BROWSERSTACK_ACCESS_KEY` (BrowserStack's own names), masked by
111
+ the framework's secret handling.
112
+ - Unit tests with a stubbed `connect()`; one optional CI job against BrowserStack, skipped without secrets.
113
+
114
+ ## Sauce Labs: the Selenium Grid route (2026-10-27)
115
+
116
+ **Question.** Sauce Labs documents Playwright on its Selenium grid: set `SELENIUM_REMOTE_URL` to the data
117
+ center's `/wd/hub` endpoint and `SELENIUM_REMOTE_CAPABILITIES` to `browserName`, `platformName` and
118
+ `sauce:options` (with `devTools: true` and the credentials). Playwright's `chromium.launch()` then starts the
119
+ browser on the grid and drives it over CDP. Does that work with the framework, and how does it differ from
120
+ a native `connect()`?
121
+
122
+ **Status.** Phase 1 (a local Selenium 4.51 grid, `selenium/standalone-chrome:4.51.0` in Docker) done: every
123
+ check passes. Phase 2 (Sauce itself) **not run**: it needs a Sauce account (`SAUCE_USERNAME`,
124
+ `SAUCE_ACCESS_KEY` and the data center). Script: `spikes/remote_browsers/spike_selenium_grid.py`.
125
+
126
+ | Check | Local Selenium grid, Chrome 155 | Notes |
127
+ |---|---|---|
128
+ | Launch through `BrowserFactory.create_browser()` | ok, 1.2 s | the framework's **unchanged** `launch()` path; only the environment variables differ |
129
+ | Desktop context, iPhone 13 emulation, page objects | ok | |
130
+ | `capture_screenshot()`, tracing | ok | written on the client |
131
+ | Video (`record_video_dir`) | ok, saved locally | the Playwright driver runs on the client and records the CDP screencast |
132
+ | Locator round trip (20 reads) | median 9 ms | loopback; Sauce adds network latency per call |
133
+ | Firefox | refused | *"Connecting to SELENIUM_REMOTE_URL is only supported by Chromium"* |
134
+ | SauceDemo smoke suite in pytest (4 tests) | 4 passed, 13 s | `SELENIUM_REMOTE_URL` set, no PyPlayKit option |
135
+
136
+ **Findings.**
137
+
138
+ 1. **No framework change is needed to run on a Selenium grid.** The variables redirect `launch()`, so the
139
+ existing fixtures, page objects and artifacts work as they are, including local videos.
140
+ 2. **Chromium only.** Chrome (and, on Sauce, Edge) through this route; Firefox and WebKit are refused by
141
+ Playwright. BrowserStack's native endpoint covers all three engines.
142
+ 3. **The grid must advertise a CDP address the client can reach.** The grid hands Playwright a `se:cdp` URL;
143
+ a Docker grid advertised its container address until started with `SE_NODE_GRID_URL=http://localhost:4444`.
144
+ On Sauce this is Sauce's concern, but a self-hosted grid needs it.
145
+ 4. **Playwright calls this support experimental**, and it is a different mechanism from `connect()`: CDP
146
+ through the grid, not the Playwright protocol. Check every Playwright feature the suites rely on before
147
+ choosing it.
148
+ 5. **Session status is not covered by the route.** There is no `browserstack_executor` equivalent here; Sauce
149
+ job status would have to be set through Sauce's REST API, which needs the job id. Whether the id can be
150
+ recovered from a Playwright session on this route is the main open question for phase 2.
151
+
152
+ **Phase 2: what to verify on Sauce.**
153
+
154
+ - A Sauce job is created, with `name` and `build` from `sauce:options`; navigation, screenshots and test
155
+ results work end to end; session start time and per-call latency from the data center.
156
+ - Chrome and Edge (`MicrosoftEdge`) on Windows and macOS; whether `devTools: true` is required.
157
+ - Marking the job passed or failed (REST API), and where the job's video and logs are linked.
158
+ - Sauce's native Playwright integration (WebSocket / `saucectl`), which Sauce describes separately, as the
159
+ alternative if Firefox or WebKit coverage is needed.
160
+
161
+ **Design implication.** If phase 2 holds, Sauce fits as a third `execution.remote.provider` (for example
162
+ `selenium_grid`) that sets `SELENIUM_REMOTE_URL` / `SELENIUM_REMOTE_CAPABILITIES` for the run instead of
163
+ calling `connect()`, refuses `--pyplaykit-browser firefox|webkit`, and reports job status through the REST
164
+ API if the job id is available.
@@ -0,0 +1,135 @@
1
+ # PyPlayKit — Remote Browser Grids WBS
2
+
3
+ Work breakdown for running PyPlayKit's UI tests on cloud browser grids, starting with BrowserStack. Based on the spike in [REMOTE_BROWSERS_SPIKE.md](REMOTE_BROWSERS_SPIKE.md), which ran the framework's fixtures, page objects and failure artifacts unchanged on BrowserStack Chrome, Firefox and WebKit.
4
+
5
+ **Status:** Draft for review · **Base version:** v1.48.1 · **Created:** 2026-10-27 · **Last updated:** 2026-10-27
6
+
7
+ ---
8
+
9
+ ## How to use this tracker
10
+
11
+ Same format, status markers, roll-up rules and estimation scales as [DEVICE_AUTOMATION_WBS.md](DEVICE_AUTOMATION_WBS.md#how-to-use-this-tracker). Update leaf markers, then run:
12
+
13
+ ```bash
14
+ python scripts/wbs_status.py docs/REMOTE_BROWSERS_WBS.md
15
+ python scripts/wbs_status.py docs/REMOTE_BROWSERS_WBS.md --check
16
+ ```
17
+
18
+ **ID scheme:** epics start at `EP-23`, after the app automation tracker (`EP-20` … `EP-22`). `EP-NN` epic · `F-NN.n` feature · `US-NN.n.n` user story · `T-NN.n.n.n` task.
19
+
20
+ ---
21
+
22
+ ## Summary Dashboard
23
+
24
+ **Overall progress:** 100% of effort complete (6 / 6 pd) · Stories: 1 done · 0 in progress · 0 yet to start · 0 blocked
25
+
26
+ ### By phase
27
+
28
+ | Phase | Release | Epics | Features | Stories | Tasks | Story points | Effort (pd) | Size | Done |
29
+ |---|---|---|---|---|---|---|---|---|---|
30
+ | Phase 1 — BrowserStack | next minor | 1 | 1 | 1 | 10 | 13 | 6 | M | 100% |
31
+ | **Total** | | **1** | **1** | **1** | **10** | **13** | **6** | **M** | **100%** |
32
+
33
+ ### By epic — status
34
+
35
+ | Epic | Phase | Size | Effort (pd) | SP | Stories | `[ ]` | `[-]` | `[x]` | `[!]` | Done |
36
+ |---|---|---|---|---|---|---|---|---|---|---|
37
+ | EP-23 Remote Browser Grids | P1 | M | 6 | 13 | 1 | 0 | 0 | 1 | 0 | 100% |
38
+ | **Total** | | | **6** | **13** | **1** | **0** | **0** | **1** | **0** | **100%** |
39
+
40
+ ### Blocked items
41
+
42
+ | Item | Reason |
43
+ |---|---|
44
+ | _None_ | |
45
+
46
+ ---
47
+
48
+ ## Timeline projection
49
+
50
+ Assumptions: 80% focus factor (≈ 4 productive days per engineer-week) and 20% contingency on top of ideal effort.
51
+
52
+ | Phase | Ideal (pd) | Remaining (pd) | Remaining + 20% contingency (pd) | 2 engineers (weeks) | 3 engineers (weeks) |
53
+ |---|---|---|---|---|---|
54
+ | Phase 1 — BrowserStack | 6 | 0 | 0.0 | 0.0 | 0.0 |
55
+ | **Total** | **6** | **0** | **0.0** | **0.0** | **0.0** |
56
+
57
+ ---
58
+
59
+ ## Design principles
60
+
61
+ - **Tests and page objects do not change.** The spike showed one seam is enough: `BrowserFactory.create_browser()` connects instead of launching, and everything above it works on the `Browser` it returns.
62
+ - **Off by default.** Remote execution sits behind `execution.remote.enabled: false` in `config/config.yaml` and a CLI switch; a run without them launches local browsers exactly as today.
63
+ - **Credentials and session tokens never leave the process.** Access keys come only from environment variables, the capabilities that carry them are never logged, and BrowserStack's `public_url` (a link with an `auth_token` that opens a session without logging in) is never stored.
64
+ - **The provider's own artifacts over local copies.** BrowserStack records a video, console log, HAR and Playwright log for every session; reports link to them instead of recording a second video.
65
+
66
+ ---
67
+
68
+ ## Phase 1 — BrowserStack `[x]`
69
+
70
+ **Target release:** next minor · **Size:** M · **Effort:** 6 pd · **Story points:** 13 · **Stories:** 1 · **Tasks:** 10
71
+
72
+ UI tests run on BrowserStack's Chrome, Edge, Firefox and WebKit from the same suite, with session status, links to BrowserStack's artifacts, and failure classification in the framework's reports.
73
+
74
+ ### EP-23 · Remote Browser Grids `[x]`
75
+
76
+ **Size:** M · **Effort:** 6 pd · **Story points:** 13 · **Features:** 1 · **Stories:** 1 · **Tasks:** 10 · **Owner:** _unassigned_
77
+
78
+ _Run the UI suite on a cloud browser grid through Playwright's `connect()`, starting with BrowserStack._
79
+
80
+ #### F-23.1 · BrowserStack execution `[x]`
81
+
82
+ **Size:** M · **Effort:** 6 pd · **Story points:** 13 · **Stories:** 1
83
+
84
+ ##### US-23.1.1 · Run UI tests on BrowserStack `[x]`
85
+
86
+ **13 SP** · **6 pd** (48 h) · **Owner:** _unassigned_
87
+
88
+ > As a **QE engineer**, I want to run the existing UI suite on BrowserStack browsers by turning on a config block or passing one CLI option, so that we cover browsers and operating systems we do not have locally without changing any test or page object.
89
+
90
+ **Background (from the spike)**
91
+
92
+ - Over `BrowserType.connect()` to `wss://cdp.browserstack.com/playwright`, context kwargs, device emulation, page objects, `capture_screenshot()`, tracing and session status all worked unchanged, from a Playwright 1.54 client to Chrome 156, Firefox 155 and WebKit 18.2.
93
+ - A session starts in 2.6–7 s; a locator call takes 31–38 ms (7–9 ms locally). Five sessions started at once without queueing.
94
+ - BrowserStack ignores `record_video_dir` (`page.video` is `None`) and records its own video and logs per session.
95
+ - With today's function-scoped `browser` fixture every test is its own BrowserStack session: about 15–35 min of session start-up for a 300-test suite, spread over the workers. The session scope is the main decision in this story.
96
+
97
+ **Acceptance criteria**
98
+
99
+ - [x] **Configuration, off by default.** `config/config.yaml` gains `execution.remote` (next to the other browser settings) with `enabled: false`, `provider` (`browserstack` | `playwright_server`), `ws_endpoint` (for `playwright_server`), `capabilities` (`os`, `os_version`, `browser_version`, `build`, `project`, and any other BrowserStack capability passed through), `credentials_env` (the *names* of the username and access-key variables, default `BROWSERSTACK_USERNAME` / `BROWSERSTACK_ACCESS_KEY`), `session_scope` (`test` | `worker`) and `connect_timeout_s` (default 300 s: macOS sessions took over a minute to start during validation). Invalid values fail at session start with the key named.
100
+ - [x] **CLI.** `--pyplaykit-remote <provider>` turns remote execution on for a run (or `PYPLAYKIT_REMOTE`); `--pyplaykit-browser chromium | firefox | webkit` maps to BrowserStack's `chrome` / `playwright-firefox` / `playwright-webkit`, and `capabilities.browser` selects others such as `edge`.
101
+ - [x] **Connect.** `BrowserFactory.create_browser()` connects with the endpoint and capabilities, setting `client.playwrightVersion` from the installed Playwright. Missing credentials fail before any connect, naming the variables (never their values); an authentication or quota refusal raises an error that says which.
102
+ - [x] **Secrets.** The access key is registered with the framework's secret masking; capabilities are never logged; the endpoint appears in logs and reports without its query string; `public_url` is never written anywhere; stored session links have their query strings removed. A unit test feeds a known key through a failing run and finds it in no log, report or artifact.
103
+ - [x] **Session scope.** `test` (default) makes one BrowserStack session per test, named after the test's node id, with its status set to passed or failed (with the failure reason) from `pytest_runtest_makereport`. `worker` keeps one remote browser per pytest-xdist worker and a fresh context per test, records each test's result in the session with BrowserStack's `annotate` action, and marks the session failed when any of its tests failed. The trade-off and the measured times are recorded in ADR-0020.
104
+ - [x] **Build name.** Sessions from one pytest run share a build: `capabilities.build` when set, else the CI run (`GITHUB_RUN_ID`, `BUILD_TAG`, `BUILD_BUILDID`), else the run's timestamp.
105
+ - [x] **Failure artifacts.** Failure screenshots work as today. For BrowserStack, `record_video_dir` is not set and the failure log, HTML report and observability report link the session's dashboard page and `video_url`; for `playwright_server`, the failure video is saved with `page.video.save_as()`.
106
+ - [x] **Classification.** Connect, authentication, quota and lost-connection errors are classified as `infrastructure` by `ObservabilityTracker`, not as application or test failures.
107
+ - [x] **Parallel runs.** `pytest -n N` works with both session scopes; a run over the account's parallel limit reports the provider's refusal as an infrastructure error instead of hanging.
108
+ - [x] **Local runs unchanged.** With `execution.remote.enabled: false` and no `--pyplaykit-remote`, browser launch, contexts, videos and reports behave exactly as in v1.48.1 (existing unit and e2e suites pass untouched).
109
+ - [x] **Tests.** Unit tests with a stubbed `connect()` cover config validation, endpoint and capability building, browser mapping, both session scopes, status reporting, link handling and classification, keeping the unit gate at ≥ 95%. An optional CI job runs the smoke suite on BrowserStack and is skipped when the secrets are not configured.
110
+ - [x] **Docs.** A remote browsers guide (setup, config, session scopes, artifacts, cost of a session per test), the new options in `CLAUDE.md` and the bundled docs, `BROWSERSTACK_USERNAME` / `BROWSERSTACK_ACCESS_KEY` in `.env.example`, and CHANGELOG and README entries.
111
+
112
+ **Tasks**
113
+
114
+ - [x] **T-23.1.1.1** ADR-0020: session scope (`test` vs `worker`) and artifact policy, from the spike's timings — `3 h`
115
+ - [x] **T-23.1.1.2** `execution.remote` config block, validation, `runtime_options` wiring and `--pyplaykit-remote` — `5 h`
116
+ - [x] **T-23.1.1.3** Remote connect in `BrowserFactory`: endpoint and capabilities, browser mapping, Playwright version, errors, secret masking — `6 h`
117
+ - [x] **T-23.1.1.4** Fixtures: remote `browser` in both `pyplaykit/plugin.py` and the repository `conftest.py`, no `record_video_dir` on BrowserStack, the `worker` scope — `6 h`
118
+ - [x] **T-23.1.1.5** Session name, build, status and per-test `annotate` from the report hook — `5 h`
119
+ - [x] **T-23.1.1.6** Session and video links in the failure log, HTML report and observability report; `infrastructure` classification of remote errors — `5 h`
120
+ - [x] **T-23.1.1.7** Unit tests with a stubbed `connect()` — `8 h`
121
+ - [x] **T-23.1.1.8** Optional CI workflow: smoke suite on BrowserStack, gated on secrets — `3 h`
122
+ - [x] **T-23.1.1.9** Live validation: smoke suite on Chrome, Edge, Firefox and WebKit in both session scopes, timings against the spike — `3 h` · _done 2026-10-27: `test` scope on all four, `worker` scope on Chrome with `-n 2`; found and fixed the `context.on` handler and the `-l` traceback exposure_
123
+ - [x] **T-23.1.1.10** Guide, `CLAUDE.md`, `.env.example`, CHANGELOG and README — `4 h`
124
+
125
+ **Out of scope (candidate follow-up stories)**
126
+
127
+ - BrowserStack Local, for applications that are not reachable from the internet (`browserstack.local` and the local binary).
128
+ - Sauce Labs: its Playwright support has been built around `saucectl` rather than a WebSocket endpoint; it needs its own spike.
129
+ - Real mobile devices on BrowserStack; desktop browsers with device emulation are covered.
130
+ - Jenkins and Azure DevOps templates for the BrowserStack job (the GitHub workflow comes first).
131
+
132
+ **Risks**
133
+
134
+ - **Cost and quota.** The default `test` scope opens one paid session per test. The guide states the expected session count, and the CI job runs only the smoke suite.
135
+ - **Version drift.** BrowserStack serves newer browser builds than the installed Playwright bundles (Chrome 156 to a 1.54 client in the spike). The live validation runs on the oldest Playwright the dependency range allows.
@@ -0,0 +1,52 @@
1
+ # 0020 — Remote browser session scope and artifacts
2
+
3
+ - **Status:** Accepted (2026-10-27)
4
+ - **Deciders:** Shan Konduru
5
+ - **Related:** US-23.1.1 ([REMOTE_BROWSERS_WBS.md](../REMOTE_BROWSERS_WBS.md)) ·
6
+ [REMOTE_BROWSERS_SPIKE.md](../REMOTE_BROWSERS_SPIKE.md) (measurements)
7
+
8
+ ## Context
9
+
10
+ - The `browser` fixture is function-scoped: every test gets its own browser, for isolation. Locally a launch is
11
+ cheap. On BrowserStack every `connect()` starts a **session**: 2.6–7 s in the spike, billed against the
12
+ account's parallel limit, and shown as one entry on the dashboard with one pass/fail status.
13
+ - A 300-test UI suite would spend 15–35 minutes starting sessions, spread over the pytest-xdist workers.
14
+ - BrowserStack's status is per session (`setSessionStatus`); within a session, `annotate` adds timestamped notes.
15
+ - BrowserStack ignores `record_video_dir` (`page.video` is `None`) and records a video, console log, HAR and
16
+ Playwright log for every session. Its `getSessionDetails` returns links to them, and a `public_url` with an
17
+ `auth_token` that opens the session without logging in.
18
+ - Isolation between tests comes from the **context** (cookies, storage, permissions), not from the browser
19
+ process; the framework already creates a fresh context per test.
20
+
21
+ ## Decision
22
+
23
+ 1. **Two session scopes, `execution.remote.session_scope`:**
24
+ - `test` (default): one session per test, named after the test's node id; its status is set to passed or
25
+ failed (with the first error line) when the test ends. Skipped tests get no status.
26
+ - `worker`: one session per pytest-xdist worker (or per run without xdist), a fresh context per test; each
27
+ test's result is an `annotate` note in the session, and the session is marked failed when any of its tests
28
+ failed.
29
+ 2. **`test` is the default** because it keeps BrowserStack's dashboard meaningful (one row per test, its own
30
+ video) and matches local isolation exactly. `worker` is the documented choice for large suites where session
31
+ start-up dominates.
32
+ 3. **Artifacts.** On BrowserStack no local video is recorded; a failed test's dashboard and video links (query
33
+ strings removed) go to the failure log, the pytest-html report and the observability report
34
+ (`remote_session`). `public_url` is never stored. On a self-hosted `playwright_server`, the failure video is
35
+ copied with `page.video.save_as()` after the context closes. Screenshots and traces work as locally.
36
+ 4. **Failures to reach the provider are infrastructure.** A connect, authentication or quota failure raises
37
+ `RemoteBrowserError` (scrubbed of the key and capabilities, raised without its cause) and is classified
38
+ `infrastructure`, including when it happens in fixture setup.
39
+
40
+ ## Alternatives considered
41
+
42
+ - **Session-scoped browser for every remote run.** Fastest, but one dashboard entry and one video for the whole
43
+ run makes a failure hard to find, and status per test is lost. Kept as the `worker` option, not the default.
44
+ - **Record videos locally with `save_as()` on BrowserStack.** Not possible: `page.video` is `None` there.
45
+ - **Link `public_url` so reviewers need no BrowserStack login.** Rejected: anyone with the report could open the
46
+ session, including its network log; the dashboard link needs a login, which is the access control we want.
47
+
48
+ ## Consequences
49
+
50
+ - Default runs cost one session per UI test; the guide states this, and the CI job runs only the smoke suite.
51
+ - `worker` runs report one BrowserStack status per worker; per-test results stay exact in pytest's own reports.
52
+ - Follow-up: BrowserStack Local for apps that are not on the public internet, and Sauce Labs, are separate stories.
@@ -26,6 +26,7 @@ Significant, hard-to-reverse design decisions are recorded here as short ADRs
26
26
  | [0017](0017-agent-evaluation-baseline-then-threshold.md) | Agent evaluation: baseline, then threshold | Accepted (2026-10-11) | QE agents |
27
27
  | [0018](0018-change-intelligence-without-product-source.md) | Change intelligence without access to product source | Accepted (2026-10-11) | QE agents |
28
28
  | [0019](0019-test-creation-from-test-cases-on-sandbox-branches.md) | Test creation from test cases, on sandbox branches | Accepted (2026-10-11) | QE agents |
29
+ | [0020](0020-remote-browser-session-scope.md) | Remote browser session scope and artifacts | Accepted (2026-10-27) | Remote browsers |
29
30
 
30
31
  ## Process
31
32
 
@@ -2654,6 +2654,8 @@ _DOC_CATALOG: list[tuple[str, list[dict[str, str | None]]]] = [
2654
2654
  "desc": "Authoring framework plugins and lifecycle hooks"},
2655
2655
  {"slug": "ci", "path": "docs/CI_INTEGRATION.md", "source": "docs/CI_INTEGRATION.md",
2656
2656
  "desc": "GitHub / Jenkins / Azure DevOps pipeline templates"},
2657
+ {"slug": "remote-browsers", "path": "docs/REMOTE_BROWSERS.md", "source": "docs/REMOTE_BROWSERS.md",
2658
+ "desc": "Run UI tests on BrowserStack or a Playwright server"},
2657
2659
  {"slug": "mcp", "path": "docs/MCP_SERVER_DESIGN.md", "source": "docs/MCP_SERVER_DESIGN.md",
2658
2660
  "desc": "MCP server for AI assistants (Claude, Copilot)"},
2659
2661
  {"slug": "agents", "path": "docs/QE_AGENTS_GUIDE.md", "source": "docs/QE_AGENTS_GUIDE.md",
@@ -20,6 +20,17 @@ execution:
20
20
  viewport:
21
21
  width: 1440
22
22
  height: 900
23
+ remote: # run UI tests on a remote browser (US-23.1.1; docs/REMOTE_BROWSERS.md). Off by default;
24
+ enabled: false # --pyplaykit-remote <provider> or PYPLAYKIT_REMOTE also switches it on for one run.
25
+ provider: "browserstack" # browserstack | playwright_server
26
+ ws_endpoint: "" # playwright_server only: ws://host:port/
27
+ session_scope: "test" # test: one session per test | worker: one per pytest-xdist worker
28
+ connect_timeout_s: 300 # macOS (WebKit) sessions can take minutes to start
29
+ credentials_env: # names of the environment variables, never the values
30
+ username: "BROWSERSTACK_USERNAME"
31
+ access_key: "BROWSERSTACK_ACCESS_KEY"
32
+ capabilities: {} # BrowserStack capabilities, e.g. os, os_version, browser_version,
33
+ # build, project; browser defaults from --pyplaykit-browser
23
34
 
24
35
  reporting:
25
36
  allure_results_dir: "reports/allure-results"