1. 8

I’ve written up why I think developers find browser automation hard (TL;DR using high level abstractions without learning the underlying webdriver), and a few short examples/ exercises using bash + curl.

I’ve helped many people debug issues with webdriver over the past few years - this post covers the key ideas that have helped them stop needing me.

  1.  

  2. [Comment removed by author]

    1. 1

      (On mobile, forgive brevity)

      It insulates you from the underlying primitives, so that when there’s a race condition with some script on the page you have no idea how to debug the result. Using an abstraction is great after you learn how the thing being abstracted over works.

      1. 1

        I actualy call this out explicitly right at the start of the post:

        I wouldn’t write my tests for a production app this way, but it illustrates the underlying concepts in a way most tools abstract away.