Explorar o código

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

cxyu %!s(int64=3) %!d(string=hai) anos
pai
achega
359f98a487
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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