Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recordVideo doesn't work with Persistent Context #3965

Open
joseajunior opened this issue Dec 17, 2024 · 4 comments
Open

recordVideo doesn't work with Persistent Context #3965

joseajunior opened this issue Dec 17, 2024 · 4 comments
Labels
bug Something isn't working priority: medium

Comments

@joseajunior
Copy link

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.

@aaltat
Copy link
Member

aaltat commented Dec 17, 2024

Can you run the test with enable_playwright_debug enabled from the library import and show relevant parts from the playwright-log.txt file

@aaltat aaltat added bug Something isn't working priority: medium labels Dec 17, 2024
@aaltat
Copy link
Member

aaltat commented Dec 17, 2024

@allcontributors please add @joseajunior for bugs

Copy link
Contributor

@aaltat

I've put up a pull request to add @joseajunior! 🎉

@joseajunior
Copy link
Author

playwright-log.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: medium
Projects
None yet
Development

No branches or pull requests

2 participants