MarketSquare / MarketSquare/robotframework-browser
recordVideo doesn't work with Persistent Context
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 655
- Forks
- 147
- Avg merge
- 5h 27m
- Merged PRs (30d)
- 59
Description
**Describe the bug**
The `recordVideo` parameter, when used in the `New Persistent Context`, doesn't even load the web page, making the test fail.
**To Reproduce**
Steps to reproduce the behavior:
1. Call for a New Persistent Context passing the `recordVideo` parameter.
e.g: `New Persistent Context browser=chromium url=https://google.com headless=False recordVideo=${recordVideo}`
**Expected behavior**
The test should work as intended.
**Desktop (please complete the following information):**
- OS: macOS Sonoma 14.7
- Browser: chromium
- Version: 131.0.6778.33
- Browser version: robotframework-browser==19.1.1
**Additional context**
This error doesn't appear when calling `Open Browser/New Page` and `New Context`.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the `New Persistent Context` keyword and its `recordVideo` parameter, then compare its setup with `Open Browser/New Page` and `New Context`. Reproduce the macOS Chromium case using the example command and inspect the resulting page-load failure. Done means persistent contexts with `recordVideo` load the page and the existing alternative flows still work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- playwright, python
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100