文件持久化存储 目录 文件持久化存储 脑图 文件的操作 with 语句 OS模块 json模块 存储为Excel文件 脑图 文件的操作 import os import platform # 1. 获取操作系统类型 print(os.name) # 2. 获取主机信息,windows系统使用plat ...
分类:
编程语言 时间:
2021-02-17 14:15:59
阅读次数:
0
问题描述 在使用 Selenium 进行自动化测试时,产生如下错误: Caught: org.openqa.selenium.ElementClickInterceptedException: element click intercepted: Element <span style="displ ...
分类:
其他好文 时间:
2021-02-16 12:44:57
阅读次数:
0
新年快乐! 先记录下写这篇随笔的初衷: 同一个项目组的测试组在推广写自动化用例,组长说用selenium写,底下的测试们只能照做喽。一群测试小伙伴们都没学过java,于是一个玩得来的测试同事经常来找我,问我java语法、selenium定位元素等等怎么写。 我也没学过selenium,不过懂点jav ...
分类:
编程语言 时间:
2021-02-16 11:59:25
阅读次数:
0
1、根据ID IWebElement FindElementById(string id) 2、根据链接文本 IWebElement FindElementByLinkText(string linkText); 3、根据元素内容 IWebElement FindElementByXPath(str ...
问题描述 # python3.7 /tmp/demo.py Traceback (most recent call last): File "/tmp/demo.py", line 4, in <module> driver = webdriver.Chrome('/srv/sharing/pack ...
分类:
其他好文 时间:
2021-02-15 12:38:15
阅读次数:
0
需要引入geopy库 pip install geopy 安装即可 import requests from bs4 import BeautifulSoup import pandas as pd import json import os from tqdm import tqdm from c ...
分类:
编程语言 时间:
2021-02-15 12:35:11
阅读次数:
0
Python写入csv文件用Excel打开乱码主要是编码格式不对,不能使用utf-8;改为encoding='GB18030'即可解决 import csv,timefrom selenium import webdriver from selenium.webdriver import Actio ...
分类:
编程语言 时间:
2021-02-10 13:30:16
阅读次数:
0
实现excel 导出 一、需求 实现 excel 的导出 二、技术 选用 easypoi 官网: https://gitee.com/lemur/easypoi#http://doc.wupaas.com/docs/easypoi/easypoi-1c0u4mo8p4ro8 三、实现 1、前端 <e ...
分类:
编程语言 时间:
2021-02-08 12:42:34
阅读次数:
0
本文供学习交流之用,没有商业用途,没有盈利。 完全是我自己为督促自己学习而翻译的。翻译的不好,见谅。来源于:http://www.guru99.com/introduction-selenuim-ide.html 好长超长!我这啥时候才能翻译完呀!Damn it!I mean it! 介绍Selen ...
分类:
其他好文 时间:
2021-02-08 11:46:45
阅读次数:
0
Python Selenium库 https://blog.csdn.net/weixin_36279318/article/details/79475388 Python playwright库 https://github.com/microsoft/playwright-python http ...
分类:
其他好文 时间:
2021-02-04 12:05:35
阅读次数:
0