You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
By clicking “Sign up for GitHub”, you agree to our
terms of service
and
privacy statement
. We’ll occasionally send you account related emails.
Already on GitHub?
Sign in
to your account
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from airtest_selenium.proxy import WebChrome
driver = WebChrome()
driver.implicitly_wait(20)
driver.get("
http://test.platform.kachexiongdi.com/
")
driver.find_element_by_xpath("//input[
@Placeholder
='请输入用户名']").click() # 这里报错,无法执行脚本
driver.find_element_by_xpath("//input[
@Placeholder
='请输入用户名']").send_keys("13171521557")
python 版本:
python3.9
操作系统:
Windows10 64bit
(别的信息)
所需第三方包均已导入,浏览器可调起,但是无法运行录制脚本
其他相关信息补充
(在windows 10上运行异常,python为3.9,在mac上正常,python为2.9。)
AirtestIDE版本号:v1.2.12
强烈建议带上截图,包括IDE本身的截图和后面的黑窗口的报错信息的截图(尽量完整)。