擅长:python、mysql、java
<p>我认为你的xpath行不通。尝试在用户名/密码字段中查找id或绝对xpath。<br/>
用textbox或textarea搜索输入标记。。。然后将值发送到web元素。。。我想你不能将值发送到分区标记。。<br/><br/>
请参阅以下链接<br/>
<a href="https://www.geeksforgeeks.org/browser-automation-using-selenium/" rel="nofollow noreferrer">https://www.geeksforgeeks.org/browser-automation-using-selenium/</a>
<a href="https://www.geeksforgeeks.org/facebook-login-using-python/" rel="nofollow noreferrer">https://www.geeksforgeeks.org/facebook-login-using-python/</a></p>