ismailguven
Hectopat
Daha fazla
- Cinsiyet
- Erkek
- Meslek
- İthalat ve İhracat Personeli
Merhaba arkadaşlar, python'a yeni başladım internetten izlediğim videolar ile kendi başıma bot yazmaya çalışıyorum fakat xpath'i kopyaladığım bir yerde böyle bir hata ile karşılaşıyorum. Videoyu yapan arkadaş ile tamamiyle aynı şeyi yapmaktayım fakat sorunun ne olduğunu bir türlü çözemedim. Yardımlarınız için şimdiden teşekkür ederim.
D:\PYTHON\Scripts\python.exe C:/Users/pc/PycharmProjects/pythonProject/10bot.py
Traceback (most recent call last):
File "C:/Users/pc/PycharmProjects/pythonProject/10bot.py", line 8, in <module>
input_alani = browser.find_element_by_xpath("//*[@id='app-mount']/div[2]/div/div/form/div/div/div[1]/div/input")
File "C:\Users\pc\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 394, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "C:\Users\pc\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 978, in find_element
'value': value})['value']
File "C:\Users\pc\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\pc\AppData\Local\Programs\Python\Python37\lib\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":"//*[@id='app-mount']/div[2]/div/div/form/div/div/div[1]/div/input"}
(Session info: chrome=93.0.4577.63)
D:\PYTHON\Scripts\python.exe C:/Users/pc/PycharmProjects/pythonProject/10bot.py
Traceback (most recent call last):
File "C:/Users/pc/PycharmProjects/pythonProject/10bot.py", line 8, in <module>
input_alani = browser.find_element_by_xpath("//*[@id='app-mount']/div[2]/div/div/form/div/div/div[1]/div/input")
File "C:\Users\pc\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 394, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "C:\Users\pc\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 978, in find_element
'value': value})['value']
File "C:\Users\pc\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\pc\AppData\Local\Programs\Python\Python37\lib\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":"//*[@id='app-mount']/div[2]/div/div/form/div/div/div[1]/div/input"}
(Session info: chrome=93.0.4577.63)
Son düzenleyen: Moderatör: