摘要:
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/1/11 11:19 # @File : unittest_test9_2.py ''' 鼠标事件:鼠标移动 ''' from selenium import webdriver from selenium.webdriver.common.by import By from... 阅读全文
摘要:
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/1/10 16:37 # @File : unittest_test9_1.py '''键盘事件''' from selenium import webdriver from selenium.webdriver.common.by import By from selen... 阅读全文
摘要:
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/1/9 11:26 # @File : test_8_3_2_BasePage.py ''' Project: 基础类BasePage,封装所有页面都公用的方法, 定义open函数,重定义find_element,switch_frame,send_keys等函数。 在初始化... 阅读全文
摘要:
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2018/12/26 11:05 # @File : unittest_test8_2.py #通过CSV获取数据 import csv,unittest from ddt import ddt,data,unpack from selenium import webdriver ... 阅读全文