简体   繁体   中英

how can i use an chrome extension in my selenium python program?

im just trying to use an vpn extension with selenium. I have the extension running, but i need to click in the button and enable the vpn so it can works, there's a way to do that with selenium? im thinking to use another similar option like scrapy or pyautogui...

No there is no way to enable the VPN on your extension

If you want to use your VPN extension you have to set a profile (otherwise selenium will create a new profile without installed extension)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM