Good evening,
I am currently working on a selenium Bot, that Posts some of my articles on the Platform Ebay-Kleinanzeigen, but somehow I cannot access the Login page with my Bot.
from selenium import webdriver
from time import sleep
class Ebaybot:
def __init__(self, username, pw):
self.driver = webdriver.Edge(executable_path=r'C:\Users\dsbh0\Desktop\Ebaybot\msedgedriver.exe')
self.driver.get("https://www.ebay-kleinanzeigen.de")
sleep(2)
self.driver.find_element_by_xpath("/html/body/div[2]/div/div/div/div/div[3]/button[1]").click()
sleep(5)
self.driver.find_element_by_xpath("/html/body/header/section[1]/section/nav/ul/li[3]/a")\
.click()
sleep(5)
# self.driver.find_element_by_xpath("/html/body/div[1]/div[2]/div/div[1]/form/div[1]/div/div/input")\
# .click()
# sleep(2)
# login_field = self.driver.find_element_by_xpath("/html/body/div[1]/div[2]/div/div[1]/form/div[1]/div/div/input")\
# .send_keys(username)
# self.driver.find_element_by_xpath("/html/body/div[1]/div[2]/div/div[1]/form/div[2]/div/div/input")\
# .click()
# pw_field = self.driver.find_element_by_xpath("/html/body/div[1]/div[2]/div/div[1]/form/div[2]/div/div/input")\
# .send_keys(pw)
my_bot = Ebaybot("User","pw")
I already tried to use Chromedrive and I've had the same issue with it.