How to enable built-in VPN in OperaDriver?

前端 未结 3 1034
时光说笑
时光说笑 2020-12-16 20:14

The opera browser has a built-in VPN which allows you to hide your IP while browsing. My question is can the VPN be turned on while using OperaDriver with selenium in pytho

3条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-16 20:59

    While this isn't exactly a way to do it in code, it worked for me and I hope it helps you out. Open the full browser settings, choose the Advanced drop down from the left, and click on Features. You should see a button that says Connect to VPN when starting browser. Once you turn it on, every time you use selenium with Opera, you will browse with a VPN.

提交回复
热议问题