etaoin 2019-02-27

Using Etaoin locally is awesome and super simple 🎉, but I haven't yet figured out how to use it to connect to a remote webdriver. Does anyone have any experience with using Etaoin to connect to remote webdrivers, for example via SauceLabs?

@eric.shao has joined the channel

(et/chrome {:headless true}) this way is ok.

Why with-chrome is ok,but with-chrome-headless will report Syntax error (NullPointerException)?

(with-chrome {} driver
             (doto driver
               (go "")
               (quit)))  ;=> ok

(with-chrome-headless {} driver
             (doto driver
               (go "")
               (quit)))   ; => Syntax error (NullPointerException)