我做了这个代码,它的工作,唯一的问题是当输入密码字段。什么都没出现。你能帮帮我吗?你知道吗
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
import threading
userStr = '555555'
passwordStr = '555555'
browser = webdriver.Chrome()
browser.get(('https://www30.mercantilbanco.com/olb/Login'))
username = browser.find_element_by_css_selector('#userId')
username.send_keys(userStr)
password = browser.find_element_by_css_selector('#password')
username.send_keys(passwordStr)
目前没有回答
相关问题 更多 >
编程相关推荐