随笔分类 -  自动化

上一页 1 2
python3基础10(操作日志)
摘要:#!/usr/bin/env python# -*- coding:UTF-8 -*-import logging, time, os# 这个是日志保存本地的路径log_path = "D:\\ideaSpace\\autoProject\\autotest\\nicetime"class Log: 阅读全文
posted @ 2018-12-05 11:58 新美好时代 阅读(169) 评论(0) 推荐(0)
Python3+Selenium3+webdriver学习笔记14(等待判断 鼠标事件 )
摘要:!/usr/bin/env python -*- coding:utf-8 -*-'''Selenium3+webdriver学习笔记14(等待判断 鼠标事件 )'''from selenium import webdriverfrom selenium.webdriver.common.actio 阅读全文
posted @ 2018-12-04 23:52 新美好时代 阅读(285) 评论(0) 推荐(0)
Python3+Selenium3+webdriver学习笔记13(js操作应用:弹出框无效如何处理)
摘要:#!/usr/bin/env python# -*- coding:utf-8 -*-'''Selenium3+webdriver学习笔记13(js操作应用:弹出框无效如何处理)'''from selenium import webdriverfrom selenium.webdriver.comm 阅读全文
posted @ 2018-12-04 22:36 新美好时代 阅读(148) 评论(0) 推荐(0)
Python3+Selenium3+webdriver学习笔记12(js操作应用:滚动条 日历 内嵌div)
摘要:#!/usr/bin/env python# -*- coding:utf-8 -*-'''Selenium3+webdriver学习笔记12(js操作应用:滚动条 日历 内嵌div)'''from selenium import webdriverimport time,os# about:add 阅读全文
posted @ 2018-12-04 22:08 新美好时代 阅读(239) 评论(0) 推荐(0)
Python3+Selenium3+webdriver学习笔记11(cookie处理)
摘要:#!/usr/bin/env python# -*- coding:utf-8 -*-'''Selenium3+webdriver学习笔记11(cookie处理)'''from selenium import webdriverfrom selenium.webdriver.common.actio 阅读全文
posted @ 2018-12-04 20:58 新美好时代 阅读(139) 评论(0) 推荐(0)
Python3+Selenium3+webdriver学习笔记10(元素属性、页面源码)
摘要:#!/usr/bin/env python# -*- coding:utf-8 -*-'''Selenium3+webdriver学习笔记10(元素属性、页面源码)'''from selenium import webdriverfrom selenium.webdriver.common.acti 阅读全文
posted @ 2018-12-04 20:57 新美好时代 阅读(270) 评论(0) 推荐(0)
Python3+Selenium3+webdriver学习笔记9(发送富文本信息及上传文件处理)
摘要:#!/usr/bin/env python# -*- coding:utf-8 -*-'''Selenium3+webdriver学习笔记9(发送富文本信息及上传文件处理)'''from selenium import webdriverfrom selenium.webdriver.common. 阅读全文
posted @ 2018-12-04 20:55 新美好时代 阅读(215) 评论(0) 推荐(0)
Python3+Selenium3+webdriver学习笔记8(单选、复选框、弹窗处理)
摘要:#!/usr/bin/env python# -*- coding:utf-8 -*-'''Selenium3+webdriver学习笔记8(单选、复选框、弹窗处理)'''from selenium import webdriverfrom selenium.webdriver.common.act 阅读全文
posted @ 2018-12-04 20:54 新美好时代 阅读(264) 评论(0) 推荐(0)
Python3+Selenium3+webdriver学习笔记7(选择多链接的结果、iframe、下拉框)
摘要:#!/usr/bin/env python# -*- coding:utf-8 -*-from selenium import webdriverfrom selenium.webdriver.common.action_chains import ActionChainsfrom selenium 阅读全文
posted @ 2018-12-04 15:43 新美好时代 阅读(219) 评论(0) 推荐(0)
Python3+Selenium3+webdriver学习笔记6(多窗口切换处理)
摘要:#!/usr/bin/env python# -*- coding:utf-8 -*-from selenium import webdriverfrom selenium.webdriver.common.keys import Keysfrom selenium.webdriver.common 阅读全文
posted @ 2018-12-04 12:12 新美好时代 阅读(162) 评论(0) 推荐(0)
Python3+Selenium3+webdriver学习笔记5(模拟常用键盘和鼠标事件)
摘要:#!/usr/bin/env python# -*- coding:utf-8 -*-from selenium import webdriverfrom selenium.webdriver.common.keys import Keysfrom selenium.webdriver.common 阅读全文
posted @ 2018-12-04 12:11 新美好时代 阅读(194) 评论(0) 推荐(0)
Selenium3+webdriver学习笔记4(css方式元素定位)
摘要:#!/usr/bin/env python# -*- coding:utf-8 -*-from selenium import webdriverimport time,os# about:addons 火狐浏览器安装组件,访问的地址# <input id="kw" name="wd" class= 阅读全文
posted @ 2018-12-03 23:27 新美好时代 阅读(176) 评论(0) 推荐(0)
Selenium3+webdriver学习笔记3(xpath方式元素定位)
摘要:#!/usr/bin/env python# -*- coding:utf-8 -*-from selenium import webdriverimport time,os# about:addons 火狐浏览器安装组件,访问的地址# <input id="kw" name="wd" class= 阅读全文
posted @ 2018-12-03 23:26 新美好时代 阅读(236) 评论(0) 推荐(0)
Selenium3+webdriver学习笔记2(常用元素定位方式,定位单个元素共8种,总共有23种)
摘要:#!/usr/bin/env python# -*- coding:utf-8 -*-from selenium import webdriverimport time,os# about:addons 火狐浏览器安装组件,访问的地址# <input id="kw" name="wd" class= 阅读全文
posted @ 2018-12-03 23:24 新美好时代 阅读(157) 评论(0) 推荐(0)
selenium3+webdriver学习笔记1(访问常用请求)
摘要:#!/usr/bin/env python# -*- coding:utf-8 -*-from selenium import webdriverimport osimport timeurl1="https://www.baidu.com/"url2="https://www.cnblogs.co 阅读全文
posted @ 2018-12-03 23:21 新美好时代 阅读(180) 评论(0) 推荐(0)
python读xml文件
摘要:# -*- coding:utf-8 -*- import jsonimport requestsimport oscurpath=os.path.dirname(os.path.realpath(__file__))xmlpath=os.path.join(curpath,'read1.xml') 阅读全文
posted @ 2018-11-27 11:51 新美好时代 阅读(157) 评论(0) 推荐(0)
Python3+selenium3环境搭建笔记
摘要:系统:win7 64位浏览器:ie9 64位 chrome70 32位 firefox63 64位python版本:3.6.5 Windows x86 executable installerselenium版本:selenium3.141.0 1、安装指定版本selenium3pip instal 阅读全文
posted @ 2018-11-26 23:49 新美好时代 阅读(413) 评论(0) 推荐(0)

上一页 1 2