Selenium logo green
  • About
    About Selenium Structure and Governance Events Ecosystem History Get Involved Sponsors Sponsor Us
  • Downloads
  • Documentation
  • Projects
  • Support
  • Blog
  • English
    • Português (Brasileiro)
    • 中文简体
    • 日本語
English
  • Português (Brasileiro)
  • 中文简体
  • 日本語
  • Documentation
    • Overview
      • Components
      • Details
    • WebDriver
      • Getting Started
        • Install Library
        • First Script
        • Using Selenium
      • Drivers
        • Options
        • HTTP Client
        • Service
        • Remote WebDriver
      • Browsers
        • Chrome
        • Edge
        • Firefox
        • Internet Explorer
        • Safari
      • Waits
      • Elements
        • File Upload
        • Locators
        • Finders
        • Interactions
        • Information
      • Interactions
        • Navigation
        • Alerts
        • Cookies
        • Frames
        • Print Page
        • Windows
        • Virtual Authenticator
      • Actions API
        • Keyboard
        • Mouse
        • Pen
        • Wheel
      • BiDi
        • Logging
        • Network
        • Script
        • CDP
          • Logging
          • Network
          • Script
        • W3C
          • Browsing Context
          • Input
          • Log
          • Network
          • Script
      • Support Features
        • Expected Conditions
        • Listeners
        • Colors
        • Select Lists
        • ThreadGuard
      • Troubleshooting
        • Errors
          • Driver Location
        • Logging
        • Upgrade to Selenium 4
    • Selenium Manager
    • Grid
      • Getting Started
      • When to Use Grid
      • Components
      • Configuration
        • Help
        • CLI Options
        • TOML Options
      • Architecture
      • Advanced Features
        • Observability
        • GraphQL Support
        • Endpoints
        • Customize Node
        • External datastore
    • IE Driver Server
      • Internals
    • IDE
    • Test Practices
      • Design Strategies
      • Overview
      • Testing Types
      • Encouraged
        • Page object models
        • Domain specific language
        • Generating application state
        • Mock external services
        • Improved reporting
        • Avoid sharing state
        • Locators
        • Test independency
        • Consider using a fluent API
        • Fresh browser per test
      • Discouraged
        • Captchas
        • File downloads
        • HTTP response codes
        • Gmail, email and Facebook
        • Test dependency
        • Performance testing
        • Link spidering
        • Two Factor Authentication
    • Legacy
      • Selenium 1
      • Selenium 2
        • Upgrading
        • Emulations
        • Firefox Driver
        • Grid 2
        • Grid Platforms
        • Remote Server
        • Parallel Execution
        • Focus Stealing
        • SSL Certs
        • Mobile
        • FAQ
        • Team
      • Selenium 3
        • Grid 3
        • Grid Setup
        • Grid Components
      • Selenium IDE
        • HTML Runner
        • Releases
      • JSON Wire Protocol
      • Desired Capabilities
      • Developers
        • Crazy Fun
        • Buck
        • Drivers
        • CI Tool
        • Summer of Code
        • Tips
        • Roadmap
    • About
      • Copyright
      • Contributing
      • Style
      • History
Edit this page Create documentation issue Create project issue Print entire section


  1. Documentation
  2. Test Practices
  3. Discouraged
  4. v4.0

Discouraged behaviors

Things to avoid when automating browsers with Selenium.

Captchas

File downloads

HTTP response codes

Gmail, email and Facebook logins

Test dependency

Performance testing

Link spidering

Two Factor Authentication

Last modified December 7, 2021: reorganize documentation and update titles (#861) [deploy site] (872174bfdd)

Development Partners

BrowserStack
Sauce Labs
LambdaTest

Selenium Level Sponsors

Bright Data
Applitools

Support the Selenium Project

Learn more or view the full list of sponsors.

Learn more
Deploys by Netlify
© 2025 Software Freedom Conservancy All Rights Reserved

About Selenium