{"repo":"Fs2qFtoS/Selenium-Document","free":true,"listed":false,"github":"https://github.com/Fs2qFtoS/Selenium-Document","clone":"git clone https://github.com/Fs2qFtoS/Selenium-Document.git","description":"a document with regarding to selenium","language":"Python","stars":282,"topics":["selenium","python","test","automation"],"license":null,"category":"scrapers-browser-automation","readme_excerpt":"Selenium 自动化测试 读者对象 - 测试自动化 - Web开发者 - Python开发工程师 - 人工智能工程师 - 爬虫开发工程师 - 数据分析工程师 - 系统运维工程师 项目结构 每章目录下按需包含： - code/ — 示例代码 - images/ — 截图与插图 - data/ — 数据文件（xlsx、csv） 内容及体系结构 第1章 从Selenium开始 — 了解Selenium项目的框架和由来，以及如何选择自己的WebDriver。介绍Windows和Linux两种操作系统下的Selenium安装方式。 第2章 页面导航 — Selenium与浏览器交互的基本操作：启动浏览器、打开页面、窗口切换等常用浏览器操作的自动化。 第3章 元素定位 — Selenium的八种元素定位方式，帮助读者初步掌握并实现一个自动化程序。 第4章 PhantomJS — PhantomJS只在内存中运行而不显示界面，十分适合数据采集。介绍PhantomJS和Selenium搭配使用的方法。 第5章 实战part1——Python官网 — 对前面所学内容的综合整理运用，通过实战巩固知识。 第6章 实战part2——今日头条 — 以今日头条为例子，讨论技术实现以及解决思路分析。 第7章 数据编解码、处理 — CSV、JSON、XML、BASE64、NLTK、HASH、Bloom Filter以及关系型/非关系型数据库。 第8章 实战part3——猫眼电影 — 从客户需求到网站分析、处理的全套流程。 第9章 实战part4——淘宝商品 — 如何应对复杂网站的页面数据采集。 第10章 单元测试 — 单元测试是什么、为什么要写、应该怎么写。 第11章 多线程 — 线程、进程、线程切换、锁以及GIL等概念。 第12章 发送邮件 — 通过自动化发送邮件实现无人值守下的报备与记录。 第13章 Selenium IDE — 录制自动化脚本的工具，快捷生成自动化脚本。 第14章 Python拓展 — Python2转Python3、测试类型、通配符、字符串方法、异常层次结构、类、推导式等。 第15章 GUI图形化测试 — 制作图形化界面的方法，常用组件介绍。 第16章 实战part5——知乎 — Selenium与传统爬虫的结合。 第17章 实战part6——微博 — 全书内容的整合提升。 勘误 mailto: af.liu@stu.pku.edu.cn","default_branch":null,"files":null,"tree":[],"storefront":"/r/Fs2qFtoS","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Fs2qFtoS/Selenium-Document/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}