Why Selenium does not react?

Hello!
Recently I started trying the Selenium library and it was very good but then it is not clear why Selenium would stop committing click, I tried this code on another computer and it works, but on my main no(
Well, Selenium just does not click and that is not putting the like on youtube, although this all worked and I have not changed anything, and the program even errors any does not issue and pretends that everything is done
I have time after clicking set and that only did not do(
And most importantly, what other websites are all working and on YouTube no!
Just do not understand how so on the other computer all works and on my main there...
Help please, can't find the answer for 4 days!!!
3.5 using Python and Selenium 3.0.0
from selenium import webdriver
import time

url = 'url_video'
FILE_NAME_PROFILE = "C:/Users/xxx/AppData/Local/Google/Chrome/User Data"
options = webdriver.ChromeOptions()
options.add_argument("user-data-dir=" + FILE_NAME_PROFILE)
driver = webdriver.Chrome(executable_path="C:/Users/xxx/Downloads/chromedriver_win32 (1)/chromedriver.exe", chrome_options=options)
driver.get(url)
time.sleep(10)
like = driver.find_element_by_xpath('//yt-icon[@class="style-scope y-toggle-button-renderer"]')
like.click()
driver.quit()
April 7th 20 at 15:45
2 answers
April 7th 20 at 15:47
If other computers work, and your not, maybe it's the versions of webdriver and browser.
April 7th 20 at 15:49
Try updating Selenium command:
pip install --upgrade selenium

Or execute JavaScript:
driver.execute_script("document.getElementsByClassName('style-scope y-toggle-button-renderer')[0].click()")

Find more questions by tags PythonSeleniumYouTube