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
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)
like = driver.find_element_by_xpath('//yt-icon[@class="style-scope y-toggle-button-renderer"]')