mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 02:31:45 +01:00
check if street input is enabled (#78)
Co-authored-by: DenisLanz <denis.lanz@gmail.com>
This commit is contained in:
@@ -449,7 +449,7 @@ class KleinanzeigenBot(SeleniumMixin):
|
||||
#############################
|
||||
# set contact street
|
||||
#############################
|
||||
if ad_cfg["contact"]["street"]:
|
||||
if ad_cfg["contact"]["street"] and self.webdriver.find_element(By.ID, "pstad-street").is_enabled():
|
||||
self.web_input(By.ID, "pstad-street", ad_cfg["contact"]["street"])
|
||||
|
||||
#############################
|
||||
|
||||
Reference in New Issue
Block a user