You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to run the code locally successfully but getting this error in terminal after initial search in the browser.
browsermod.cheatyoutubeff(query_word,s_url,max_n,x+1,min_rand,max_rand)
File "/Users/vaibhavacharya/Desktop/Web Development/YouTube-View-increaser/support/ffyoumod.py", line 49, in cheatyoutubeff
browser.find_element_by_xpath("//a[contains(@href,'&page="+str(x+2)+"')]"))
File "//anaconda2/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 394, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "//anaconda2/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 978, in find_element
'value': value})['value']
File "//anaconda2/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "//anaconda2/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//a[contains(@href,'&page=2')]"}
(Session info: chrome=83.0.4103.116)
The text was updated successfully, but these errors were encountered:
I am able to run the code locally successfully but getting this error in terminal after initial search in the browser.
The text was updated successfully, but these errors were encountered: