mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 18:41:50 +01:00
Fix for #82
This commit is contained in:
@@ -509,6 +509,7 @@ class KleinanzeigenBot(SeleniumMixin):
|
||||
# set contact phone
|
||||
#############################
|
||||
if ad_cfg["contact"]["phone"]:
|
||||
if self.webdriver.find_element(By.ID, "postad-phonenumber").is_displayed():
|
||||
try:
|
||||
if not self.webdriver.find_element(By.ID, "postad-phonenumber").is_enabled():
|
||||
self.webdriver.find_element(By.ID, "phoneNumberVisibility").click()
|
||||
|
||||
Reference in New Issue
Block a user