04 2022 档案

摘要:#!/bin/env python # -*- coding: utf-8 -*- import sys import os import requests from lxml import etree sys.path.append(os.path.dirname(os.path.dirname( 阅读全文
posted @ 2022-04-28 17:14 究极不吃香菜 阅读(115) 评论(0) 推荐(0) 编辑
摘要:Application Type 文件扩展名Content-Type(Mime-Type)描述 . application/x- .* application/octet-stream 二进制流,不知道下载文件类型 .pdf application/pdf PDF(Portable Document 阅读全文
posted @ 2022-04-21 09:44 究极不吃香菜 阅读(10185) 评论(0) 推荐(1) 编辑
摘要:随着web服务能力的逐步提高,越来越多的应用被搬运到了大家日常使用的网页中。 虽然有时并没有客户端那么华丽且全面,但随着设计者的良苦用心,还是有很多网页应用可以占据我们收藏夹的一席之地,便捷实用或是不失趣味。 这次我就将自己在浏览器中爱不释手的收藏夹全部公开,一起来看看这些值得收藏的宝藏网站。 效率 阅读全文
posted @ 2022-04-15 11:16 究极不吃香菜 阅读(1733) 评论(0) 推荐(0) 编辑
摘要:WebDriver driver = new FirefoxDriver(); Firefox目录变更 System.setProperty("webdriver.firefox.bin","D:/Program Files/Mozilla Firefox/firefox.exe"); 开URL D 阅读全文
posted @ 2022-04-12 15:20 究极不吃香菜 阅读(468) 评论(0) 推荐(0) 编辑
摘要:xx = """User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0 Accept: applicatasdon Accept-Language: zh-CN,zh;qasd 阅读全文
posted @ 2022-04-02 17:03 究极不吃香菜 阅读(104) 评论(0) 推荐(0) 编辑
摘要:常用方法函数 加载浏览器驱动: webdriver.Firefox() 打开页面:get() 关闭浏览器:quit() 最大化窗口: maximize_window() 设置窗口参数:set_window_size(600,800) 后退到前一页: back() 前进到后一页: forward() 阅读全文
posted @ 2022-04-02 14:51 究极不吃香菜 阅读(1657) 评论(0) 推荐(0) 编辑
摘要:selenium 是一套完整的web应用程序测试系统,包含了测试的录制(selenium IDE),编写及运行(Selenium Remote Control)和测试的并行处理(Selenium Grid)。Selenium的核心Selenium Core基于JsUnit,完全由JavaScript 阅读全文
posted @ 2022-04-02 12:22 究极不吃香菜 阅读(474) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示