selenium新的定位方法,更简洁很方便

亲测是可以的

self.driver.find_element('id','kw').send_keys(u"凯宾斯基")

 

 

posted @ 2018-08-13 20:51  凯宾斯基  阅读(347)  评论(0编辑  收藏  举报