I
I
Inoyatullo2021-08-12 19:36:27
Python
Inoyatullo, 2021-08-12 19:36:27

How to run selenium on vps with display?

I want to download a video from tiktok and for this I used selenium, through selenium I went to savefrom.net and downloaded it there. But when I ran the script on vps and added arguments that run without a monitor (this is necessary for vps), the script did not work, it could not find the button (probably this is protection from bots). Well, that's why I want to run selenium with a display. Maybe a virtual monitor?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Drno, 2021-08-12
@Khaliknazar

put vnc on VPS and go...
for VNC you need a display manager. I would install lxde, it's lightweight, or xfce (but I just don't like it))) )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question