Sometimes you need to set the focus on a specific element when running a test in WebdriverIO. For example, I recently wanted to test that pressing the 'spacebar' would toggle a setting. To do this, I needed to focus the element, then send a 'spacebar' keypress.This is relatively easy… Continue Reading 'Set Keyboard Focus on an Element via WebdriverIO'
Remote working is considered the next revolution in the workplace, but I kind of hate it. Here are six reasons why remote working can really suck.… Continue Reading 'Why I Hate Remote Working (But Still Prefer it to an Open Office Environment)'
There are times when I'm debugging a flakey test and I can't get it to fail. Yes, that's a real problem! If you're working on a test that intermittently fails, it's useful to have a snippet that will run your test again and again until it fails. This is both… Continue Reading 'Come on WebdriverIO, Fail Already'
(1/30) It should be no surprise that this is a terrible, terrible place for public debates. A thread...… Continue Reading 'What to do about Twitter...'
Client don't care about code quality, but that doesn't matter to me. So what do dragon's have to do with them anyway?… Continue Reading 'Here, There be Documentation'
I'm a front-end developer. I love how visually appealing my job can be. I get to transform beautiful designs into fully-functioning websites. But I hate how that beautifully working website can so easily turn into a mess with just a single code update. I also hate how that mess can… Continue Reading 'Using WebdriverIO and Applitools to visually test your website'
No, this is not a post about me choosing to stay on WebdriverIO version 4 over the newly released 5.x update. Rather, it's a simple technical explanation of how to install and use version 4, instead of having to go with the default of 5. Okay but why? The… Continue Reading 'Sticking with WebdriverIO Version 4'
Computers are really good at spotting differences in images, and absolutely horrible at knowing whether those differences matter. What can we do?… Continue Reading 'Visual Regression Testing is Stupid'
Here's how to use WebdriverIO and NodeJS to validate file download flows on your website.… Continue Reading 'Testing File Downloads using WebdriverIO'
I firmly believe in writing tests. I also firmly believe in not writing tests. Let me explain...… Continue Reading 'Stop! Don't test that!'
How do you validate the 'human-readable' text of a website matches the computer-friendly database value?… Continue Reading 'Converting 'Yes'/'No' value to true/false in assertions'