1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] How to run Selenium as the user, and not root?

Discussão em 'Python' iniciado por Stack, Setembro 24, 2024.

  1. Stack

    Stack Membro Participativo

    I'm running a Python script with Selenium to authenticate to a service that opens an app via deep linking.

    The script runs remotely with SSH using sudo, but since Selenium is running as sudo, the deep link fails to open the app. Without sudo, it works fine, but I need the script to run with sudo.

    Is there a way to run only Selenium as the user while the rest of the script runs with sudo?

    Continue reading...

Compartilhe esta Página