Browse Source

修改等待时间

xyxie 1 năm trước cách đây
mục cha
commit
3f51668a5a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      metting.py

+ 1 - 1
metting.py

@@ -77,7 +77,7 @@ if __name__ == "__main__":
     # driver.maximize_window()
     driver.get(
         'https://www.cmegroup.com/markets/interest-rates/cme-fedwatch-tool.html?redirect=/trading/interest-rates/countdown-to-fomc.html')
-    sleep(2)
+    sleep(5)
     try:
         driver.find_element(By.XPATH, '/html/body/div[4]/div[3]/div/section/span').click()
         driver.find_element(By.XPATH, '//*[@id="onetrust-accept-btn-handler"]').click()