PChome-AutoBuy
PChome-AutoBuy copied to clipboard
multi_CVV2Num 已經在settings填入,但是無法在購買流程時自動填入
您好,
如標題,已經在settings填入multi_CVV2Num,但是付款頁面卻步會自動填入信用卡檢查碼,無法完成購物。
是否哪邊沒注意到,謝謝。
我發現似乎有香商品部會有多一個視窗,所以這段code會導致無法輸入付款資訊
### 點擊提示訊息確定 ### # WebDriverWait(driver, 20).until( # expected_conditions.element_to_be_clickable( # (By.XPATH, "//a[@id='warning-timelimit_btn_confirm']")) # ) # button = driver.find_element_by_xpath("//a[@id='warning-timelimit_btn_confirm']") # driver.execute_script("arguments[0].click();", button)
了解,謝謝回報! 之後會將這段程式碼變成 try 區塊並改為等待1秒
bdbb5c9 已修正