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'
There are many valid reasons not to write tests. How do you avoid those and make meaning out of your work?… Continue Reading 'Why You're Not Writing UI Tests'
Via my WebdriverIO course and YouTube videos, I get asked a lot of questions about "why isn't this working?". Many revolve around issues that different people face over and over again, so I wanted to note them here for folks searching. Here's are the messages: ERROR: connect ECONNREFUSED… Continue Reading 'Common Selenium and Webdriverio Error Messages SOLVED'
Some Backstory Over the past year, I've been working on a set of online video tutorials for WebdriverIO. In it, I cover many details of WebdriverIO, including a multitude of commands and how WebdriverIO integrates with many systems out there. While I'm happy with the content so far, I felt… Continue Reading 'Testing your login - An In-depth WebdriverIO Tutorial'
I've been building out a bunch of content for my WebdriverIO course recently and wanted to share a neat idea (I think so anyways) for a minor addition to your WebdriverIO suite. Update: WebdriverIO now supports "watch" mode out of the box Using two NPM packages and a… Continue Reading 'Continuous local WebdriverIO testing with 'onchange' and 'node-notifier''
A little while back I wrote aboute how to install WebdriverCSS with WebdriverIO 4.x. Well, that no longer works :\ The future of WebdriverCSS is still up in the air. Right now the official direction is that it will merge with wdio-screenshot, but progress on that front has been a… Continue Reading 'A stop-gap for WebdriverCSS'
I found out about WebdriverIO through WebdriverCSS. Seems strange, since WebdriverIO is so powerful on its own, but yeah, WebdriverCSS introduced me to the awesomeness that is WebdriverIO. Visual Regression Testing has always been an interest of mine. I talked about it at CSSDevConf in 2013, when I demoed the… Continue Reading 'What's up with WebdriverCSS?'
WebdriverIO offers a variety of ways to "select" elements on a webpage. While the basic method of using simple CSS selectors will work for 75% of your needs, sometimes you require a more advanced technique. The two main types are either XPath or CSS selectors; and truthfully either… Continue Reading 'Selecting Elements in WebdriverIO'
One of the benefits of using a Selenium Cloud service like BrowserStack or Sauce Labs is the ability to review your automated test runs. This is especially useful if you run your tests through a Continuous Integration (CICD) tool like Jenkins or TravisCI. BrowserStack will show you a list of… Continue Reading 'Better BrowserStack Builds in WebdriverIO'
WebdriverIO provides a configuration utility out of the box, which is great for sharing settings across a simple suite of tests. But it's not quite enough if those settings need to slightly shift when testing on different environments (e.g. your development server vs. production). I plan on covering this… Continue Reading 'Managing Configurations in WebdriverIO'