Selenium logo green
  • About
    About Selenium Structure and Governance Events Ecosystem History Get Involved Sponsors
  • Downloads
  • Documentation
  • Projects
  • Support
  • Blog
  • 中文简体
    English Português (Brasileiro) 日本語

Ready to level up your Selenium skills? Learn from the experts at SeleniumConf! March 28-30 in Chicago. Get Tickets

中文简体
English Português (Brasileiro) 日本語
  • 文档
    • 概述
      • 了解组件
      • 深度介绍
    • WebDriver
      • 入门指南
        • 安装类库
        • 安装驱动
        • 第一个脚本
        • 升级到Selenium 4
      • 驱动
        • 选项
        • 服务
        • 监听器
        • 执行器
        • 远程WebDriver
      • 浏览器
        • Chrome
        • Edge
        • Firefox
        • Internet Explorer
        • Safari
      • 等待
      • 元素
        • 文件上传
        • 查询器
        • 交互
        • 定位器
        • 信息
      • 交互
        • 导航
        • 警告框
        • Cookies
        • Frames
        • 窗口
        • 虚拟身份验证器
      • Actions接口
        • 键盘
        • Mouse
        • Pen
        • Wheel
      • 双向协议
        • RemoteWebDriver BiDi API (CDP implementation)
        • Chrome开发工具
        • BiDi API (CDP implementation)
        • BiDi API (W3C compliant)
          • Browsing Context
          • BiDi API (W3C compliant)
      • 额外功能
        • 颜色
        • 线程守卫
        • 选择列表
      • Troubleshooting
        • 异常
        • Logging
    • Grid
      • 快速起步
      • 适用性
      • 组件
      • 配置
        • 帮助
        • CLI 选项
        • Toml选项
      • Grid架构
      • 高级功能
        • 可观测性
        • GraphQL查询支持
        • Grid端点
        • Customize Node
        • External datastore
    • IE驱动服务器
      • Internals
    • IDE
    • 最佳实践
      • 概述
      • 设计策略
      • 测试类型
      • 指南
        • PO设计模式
        • 领域特定语言
        • 生成应用程序状态
        • 模拟外部服务
        • 改善报告
        • 避免共享状态
        • 定位器
        • 测试的独立性
        • 考虑使用Fluent API
        • 每次测试都刷新浏览器
      • 反模式
        • 验证码
        • 文件下载
        • HTTP响应码
        • Gmail, email and Facebook
        • 测试依赖
        • 性能测试
        • 爬取链接
        • 双因素认证
    • Legacy
      • Selenium 1
      • Selenium 2
        • 从RC迁移到WebDriver
        • 远程WebDriver服务器
      • Selenium 3
        • 服务网格 3
        • 配置自己的服务网格
        • 服务网格的组件
      • Selenium IDE
        • HTML runner
    • 关于这个文档
      • 版权和归属
      • 为 Selenium 文档做贡献
      • Style
编辑此页 提交文档问题 提交项目问题 整节打印


SeleniumConf Chicago 2023
  1. 文档
  2. 最佳实践
  3. 反模式
  4. v4.0

不鼓励的行为

使用Selenium自动化浏览器时应避免的事项.

验证码

文件下载

HTTP响应码

Gmail, email 和 Facebook 登录

测试依赖

性能测试

爬取链接

双因素认证

最后修改 December 14, 2021: Update Chinese translation of "link title" and re-translate some titles (#882) [deploy site] (55a7401dc7e)

Selenium Level Sponsors

BrowserStack
Sauce Labs
Experitest
Applitools
Perfecto
LambdaTest
Subject7
Avo Automation

Support the Selenium Project

Want to support the Selenium project? Learn more or view the full list of sponsors.

Learn more
Deploys by Netlify
© 2023 Software Freedom Conservancy 保留所有权利

关于这个文档