xpath(第二种选择)
所以写的方式:=driver.find_element_by_xpath(‘//input[@placeholder="请输入账号"]‘).send_keys(‘admin‘)
css(第一种选择)
UI_web自动化--css定位和xpath定位
原文:https://www.cnblogs.com/wangguoyuan-09/p/13186665.html