selenium定位一組元素

def fillout_question(self,answer):
    questions = self.driver.find_elements(*questions_loc)
    for question in questions:
        question.clear()
        question.send_keys(answer)

參考文章連接:http://www.blogjava.net/qileilove/articles/411024.htmlhtml

相關文章
相關標籤/搜索