MarketSquare / MarketSquare/robotframework-browser

browser - new context - tracing - support for additional arguments provided by playwright

Open
#4,007 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

closeable? enhancement priority: medium
Dominant language
Python
Stars
655
Forks
147
Avg merge
5h 27m
Merged PRs (30d)
59

Description

According to Playwright documentation https://playwright.dev/docs/api/class-tracing it should be possible when using "tracing" use additional optional arguments like :

screenshots [boolean]
Whether to capture screenshots during tracing. Screenshots are used to build a timeline preview.

snapshots [boolean]
If this option is true tracing will
capture DOM snapshot on every action
record network activity

sources [boolean]
Whether to include source files for trace actions.

It would be great to implement also to Browser Library.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Browser Library entry point for new-context tracing and compare its accepted options with the Playwright tracing API documentation linked in the issue. Add support for screenshots, snapshots, and sources, then run the relevant tracing tests and verify that each option is forwarded and behaves as documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
playwright, python
Domain
testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
56/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.