Sfoglia il codice sorgente

MOD:落地页--创建落地页修复

cxyu 3 anni fa
parent
commit
359f98a487
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      wechat_action/create_ad_layout.py

+ 1 - 1
wechat_action/create_ad_layout.py

@@ -27,7 +27,7 @@ class CreateAd:
 
         try:
             # 落地页内容有的账户有,有的无,无的默认等5s
-            WebDriverWait(self.driver, 5).until(lambda driver: self.driver.find_elements_by_xpath(
+            WebDriverWait(self.driver, 5).until(lambda driver: self.driver.find_element_by_xpath(
                 '//*[@class="adui-table-tr"]'))
         except:
             pass