Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Cant create new ads #35

@jniggemann

Description

@jniggemann

This is probably due to the shipping options that are default. My ads are all "PICKUP", but this is not set (or the code doesn't get there):
img


Traceback (most recent call last):
  File "/home/jn/bin/ebayKleinanzeigen/kleinanzeigen.py", line 564, in <module>
    fPosted = post_ad(driver, ad, True)
  File "/home/jn/bin/ebayKleinanzeigen/kleinanzeigen.py", line 317, in post_ad
    shipment_select.select_by_visible_text("Nur Abholung")
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/support/select.py", line 120, in select_by_visible_text
    self._setSelected(opt)
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/support/select.py", line 212, in _setSelected
    option.click()
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/webelement.py", line 80, in click
    self._execute(Command.CLICK_ELEMENT)
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute
    return self._parent.execute(command, params)
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable: Element is not currently visible and may not be manipulated
  (Session info: chrome=90.0.4430.212)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions