[Python] Playwright uses old browser version

Discussão em 'Python' iniciado por Stack, Fevereiro 17, 2025.

  1. Stack

    Stack Membro Participativo

    I'm a bit of a Playwright noob, and I have a problem getting my Python scripts to run using the latest version of Firefox.

    Any .py script I run will open in version 95.0. Same thing if I run playwright codegen -b firefox. However, if I run npx playwright codegen -b firefox, I get the correct version 134.0. I've tried npx playwright install and playwright install to get the latest browsers. The npx attempt did seem to update correctly, but I'm still just getting the old Firefox when running my .py scripts.

    Am I missing something really obvious?

    Continue reading...

Compartilhe esta Página