摘要: 在使用之前需要导入Select模块 from selenium.webdriver.support.ui import Select 此次试验的HTML代码 <html> <select id ="select-test"> <option value="wechat">微信</option> <o 阅读全文
posted @ 2020-05-17 22:15 RonyJay 阅读(555) 评论(0) 推荐(0) 编辑
摘要: 本文主要讲解,在selenium自动化中,实现文件上传的两种方式。 本章节实验的HTML代码: <html> <form action="http://baidu.com" target="" id="uploadForm" enctype="multipart/form-data"></form> 阅读全文
posted @ 2020-05-17 21:33 RonyJay 阅读(644) 评论(0) 推荐(1) 编辑