添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
坏坏的红金鱼  ·  TestNG Tutorials 50: ...·  1 周前    · 
精明的蚂蚁  ·  游艇出海10项安全提示·  1 月前    · 
怕老婆的红金鱼  ·  【小渔】Padavan ...·  5 月前    · 

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本身的截图和后面的黑窗口的报错信息的截图(尽量完整)。