摘要: import os import yaml import sys import logging class PubMethod: @staticmethod def read_yaml(file): if os.path.isfile(file): fr = open(file, 'r', enco 阅读全文
posted @ 2020-09-11 20:58 蜗牛·哥 阅读(259) 评论(0) 推荐(0) 编辑
摘要: # this is config file, only store browser type and server URL[browserType]#browserName = FirefoxbrowserName = Chrome#browserName = Ie#browserName = Ed 阅读全文
posted @ 2020-09-11 20:55 蜗牛·哥 阅读(486) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:utf-8 -*- import configparser from selenium import webdriver from webdriver_manager.opera import OperaDriverManager from webdriver_manage 阅读全文
posted @ 2020-09-11 20:53 蜗牛·哥 阅读(359) 评论(0) 推荐(0) 编辑
摘要: # coding=utf-8 import time from selenium.common.exceptions import NoSuchElementException from selenium.webdriver import ActionChains from selenium.web 阅读全文
posted @ 2020-09-11 20:49 蜗牛·哥 阅读(831) 评论(0) 推荐(0) 编辑