摘要: 此教程为 第三方插件 激活方式 本教程适用于 Pycharm 所有版本 Windows、Mac、Linux系统都适用 一、激活前注意事项 软件一定要是在官网下载:https://www.jetbrains.com/ 本教程适用于jetbrains全系列产品(Pycharm、Idea、WebStorm 阅读全文
posted @ 2021-06-07 18:32 test_yu 阅读(921) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python3 # coding=utf-8 import logging import os.path import time class Logger(object): def __init__(self, logger): """指定保存日志的文件路径,日志级别,以及调用 阅读全文
posted @ 2021-06-07 17:27 test_yu 阅读(104) 评论(0) 推荐(0) 编辑
摘要: rows = driver.find_elements_by_css_selector('div.wrapper>ul.list>li') logger.info(len(rows)) 阅读全文
posted @ 2021-06-07 13:45 test_yu 阅读(1057) 评论(0) 推荐(0) 编辑
摘要: @staticmethod def unzip_file(failed_file): zip_file = zipfile.ZipFile(failed_file) print(zip_file) if os.path.isdir(failed_file[0:-20]): pass else: os 阅读全文
posted @ 2021-06-07 13:42 test_yu 阅读(102) 评论(0) 推荐(0) 编辑
摘要: for link in driver.find_elements_by_css_selector("tr:nth-child(1) > td.taskStatus use"): assert_status = link.get_attribute('xlink:href') print(assert 阅读全文
posted @ 2021-06-07 13:39 test_yu 阅读(316) 评论(0) 推荐(0) 编辑