Skip to content

Instantly share code, notes, and snippets.

@adamgoucher
Created August 29, 2012 01:26
Show Gist options
  • Save adamgoucher/3505896 to your computer and use it in GitHub Desktop.
Save adamgoucher/3505896 to your computer and use it in GitHub Desktop.
WebDriver; you are probably doing it wrong...

Selenium, and WebDriver by extension have a bad reputation for being unreliable, unmaintainable and slow. Care to guess whose fault it is? Have a mirror handy? The good news is that we know how to address these problems.

  • Page Objects FTW - 20 minutes
    • Locators
      • dynamic
    • Elements
      • input
      • select
      • checkbox
    • Actions
      • open()
      • wait_until_loaded()
      • validate()
      • success = True
    • 'Rules'
  • Aaagh! Synchronization - 10 minutes
    • and I quote 'Explicit is better than implicit.'
    • latches
  • Proxy All Things! - 5 minutes
    • issue 141
    • '3rd party crap' -- yes, that is a technical term
    • timings
  • Back to the Future - 5 minutes
    • HTML5
    • Canvas
@domenkozar
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment