Today, we are going to work on customizing tests by passing in custom parameters.
At the end of this tutorial, we will have a fully working test that implements Puppeteer, Mocha, and Chai for Outside Online.
Puppeteer allows you to do anything you would do manually in Chrome but through code. Need a screenshot? Want to test form inputs? Need to test your web speed? Puppeteer can do all that and more.
First off, before I go any further, if you operate a Drupal site and have not applied these patches already, please patch your site right now.
About Our Ads
The DOMDocument is a class built in to PHP that helps developers navigate an HTML document tree and provides methods to help interact with the document.
A patch is a specific file that outlines all the changes made between two sets of files.
- Page 1