Hi all,
I'm using launch_persistent_context() to load a Firefox profile onto the browser. However, when running my script, I get the error shown in the image. How can I fix this? Thanks! :)
import time
from playwright.sync_api import Playwright, sync_playwright, expect
with sync_playwright() as playwright:
context = playwright.firefox.launch_persistent_context(user_data_dir='C:/Users/Virus/AppData/Roaming/Mozilla/Firefox/Profiles/5let3xo1.default-nightly', headless=False)
This thread is trying to answer question "How can the user fix the error popup that says using an older version of Firefox can corrupt data when using launch_persistent_context() to load a Firefox profile onto the browser?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].