Testing javascript applications with Selenium, Async/Await, and Jest

1 · Evan Tahler · March 28, 2018, 4:12 a.m.
The last time I used Selenium, in 2015, I hated it. It was slow, brittle, and difficult to get working. These days, it can actually be pleasant!Selenium is a way to automate you staring at your computer and clicking things. (https://unsplash.com/photos/yFbyvpEGHFQ)Recently, in the ActionHero project, we found that we really needed a “full browser” integration test… something that we couldn’t mock or accomplish with even a robust tool like request. We needed to ensure that our HTTP and WebSocket ...