{"id":46055677,"url":"https://github.com/Fs2qFtoS/Selenium-Document","last_synced_at":"2026-04-04T20:46:06.053Z","repository":{"id":151450025,"uuid":"170965245","full_name":"ghLcd9dG/Selenium-Document","owner":"ghLcd9dG","description":"a document with regard to selenium","archived":false,"fork":false,"pushed_at":"2024-04-25T11:03:06.000Z","size":23318,"stargazers_count":291,"open_issues_count":0,"forks_count":54,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-07-30T17:15:58.769Z","etag":null,"topics":["automation","python","selenium","test"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ghLcd9dG.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-02-16T05:09:37.000Z","updated_at":"2024-04-25T11:03:09.000Z","dependencies_parsed_at":"2023-05-23T11:15:37.810Z","dependency_job_id":null,"html_url":"https://github.com/ghLcd9dG/Selenium-Document","commit_stats":null,"previous_names":["ghlcd9dg/selenium-document"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ghLcd9dG/Selenium-Document","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghLcd9dG%2FSelenium-Document","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghLcd9dG%2FSelenium-Document/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghLcd9dG%2FSelenium-Document/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghLcd9dG%2FSelenium-Document/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ghLcd9dG","download_url":"https://codeload.github.com/ghLcd9dG/Selenium-Document/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghLcd9dG%2FSelenium-Document/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29966684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T09:33:09.965Z","status":"ssl_error","status_checked_at":"2026-03-01T09:25:48.915Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","python","selenium","test"],"created_at":"2026-03-01T10:01:37.593Z","updated_at":"2026-04-04T20:46:05.984Z","avatar_url":"https://github.com/ghLcd9dG.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Selenium 自动化测试\n\n## 读者对象\n\n- 测试自动化\n- Web开发者\n- Python开发工程师\n- 人工智能工程师\n- 爬虫开发工程师\n- 数据分析工程师\n- 系统运维工程师\n\n## 项目结构\n\n```\n├── docs/           # 书籍文档（docx、pdf）\n├── ch01/           # 第01章 从Selenium开始\n├── ch02/           # 第02章 页面导航\n├── ch03/           # 第03章 元素定位\n├── ch04/           # 第04章 PhantomJS\n├── ch05/           # 第05章 实战——Python官网\n├── ch06/           # 第06章 实战——今日头条\n├── ch07/           # 第07章 数据编解码、处理\n├── ch08/           # 第08章 实战——猫眼电影\n├── ch09/           # 第09章 实战——淘宝商品\n├── ch10/           # 第10章 单元测试\n├── ch11/           # 第11章 多线程\n├── ch12/           # 第12章 发送邮件\n├── ch13/           # 第13章 Selenium IDE\n├── ch14/           # 第14章 Python拓展\n├── ch15/           # 第15章 GUI图形化测试\n├── ch16/           # 第16章 实战——知乎\n├── ch17/           # 第17章 实战——微博\n└── appendix/       # 附录\n```\n\n每章目录下按需包含：\n- `code/` — 示例代码\n- `images/` — 截图与插图\n- `data/` — 数据文件（xlsx、csv）\n\n## 内容及体系结构\n\n**第1章 从Selenium开始** — 了解Selenium项目的框架和由来，以及如何选择自己的WebDriver。介绍Windows和Linux两种操作系统下的Selenium安装方式。\n\n**第2章 页面导航** — Selenium与浏览器交互的基本操作：启动浏览器、打开页面、窗口切换等常用浏览器操作的自动化。\n\n**第3章 元素定位** — Selenium的八种元素定位方式，帮助读者初步掌握并实现一个自动化程序。\n\n**第4章 PhantomJS** — PhantomJS只在内存中运行而不显示界面，十分适合数据采集。介绍PhantomJS和Selenium搭配使用的方法。\n\n**第5章 实战part1——Python官网** — 对前面所学内容的综合整理运用，通过实战巩固知识。\n\n**第6章 实战part2——今日头条** — 以今日头条为例子，讨论技术实现以及解决思路分析。\n\n**第7章 数据编解码、处理** — CSV、JSON、XML、BASE64、NLTK、HASH、Bloom Filter以及关系型/非关系型数据库。\n\n**第8章 实战part3——猫眼电影** — 从客户需求到网站分析、处理的全套流程。\n\n**第9章 实战part4——淘宝商品** — 如何应对复杂网站的页面数据采集。\n\n**第10章 单元测试** — 单元测试是什么、为什么要写、应该怎么写。\n\n**第11章 多线程** — 线程、进程、线程切换、锁以及GIL等概念。\n\n**第12章 发送邮件** — 通过自动化发送邮件实现无人值守下的报备与记录。\n\n**第13章 Selenium IDE** — 录制自动化脚本的工具，快捷生成自动化脚本。\n\n**第14章 Python拓展** — Python2转Python3、测试类型、通配符、字符串方法、异常层次结构、类、推导式等。\n\n**第15章 GUI图形化测试** — 制作图形化界面的方法，常用组件介绍。\n\n**第16章 实战part5——知乎** — Selenium与传统爬虫的结合。\n\n**第17章 实战part6——微博** — 全书内容的整合提升。\n\n## 勘误\n\nmailto: af.liu@stu.pku.edu.cn\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFs2qFtoS%2FSelenium-Document","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFs2qFtoS%2FSelenium-Document","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFs2qFtoS%2FSelenium-Document/lists"}