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.html
本文介绍了一种使用 WebDriver 自动化填写在线问卷的方法,通过查找元素并输入答案,实现了批量处理问卷的需求。
1651

被折叠的 条评论
为什么被折叠?



