Traceback (most recent call last):
None 元素获取不到 xpath 定位方式 //*[@id="signup-form"]/div[1]/input 定位置错误
File "C:/daima/venv/open_bro.py", line 243, in <module>
Browser_driver.get_element('xpath', '//*[@id="signup-form"]/div[1]/input')
File "C:/daima/venv/open_bro.py", line 132, in get_element
return self.element_isdisplayed(element)
File "C:/daima/venv/open_bro.py", line 102, in element_isdisplayed
flag = element.is_displayed()
AttributeError: 'NoneType' object has no attribute 'is_displayed'
这是报错信息