I
I
Ilya2021-08-16 14:09:24
Python
Ilya, 2021-08-16 14:09:24

How to click on the "Subscribe" and "Like" button on youtube.com?

Good afternoon, I would like to click on the "Subscribe" button and after it the "Like" button. How would I be able to do this in Python Selenium?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Karbivnichy, 2021-08-16
@stead

A selection of short videos on Selenium from Python Today. Here are collected almost all the features of Selenium for all occasions. In one of the videos (I don’t remember which one) there is an example on your question.
#0 Intro
#1 Installing Selenium, Chromedriver, Geckodriver, ...
#2 How to change User-Agent Chrome, Firefox
#3 Installing and working with proxy in Selenium Chrome and ...
#4 Authentication on sites | Working with forms | S...
#5 Cookies | Saving and loading
#6 WebDriver mode | Disabling WebDriver
#7 Headless mode | Running the browser in the background
#8 Switching between tabs | Parsing avito
#9 Running multiple browsers at the same time | Sele...
#10 How to run Selenium ChromeDriver on VPS server...

A
Araya, 2021-08-16
@Araya

Click on one, then on the other. Looks like a solution :)

R
Roman Agagulov, 2021-08-16
@RoMoN0975

I did it through the pyautogui module
but it's not quite a camelfo. if you mean vk then try the api_vk module

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question