function ignoreError(err) {
	return /Execution context was destroyed|(Session|Connection|Target) closed/.test(err.message);
}
Pupppeteer often throws when the pages is navigated and we try
to assert something. Ignore any errors when that happens.
See: https://github.com/boxine/pentf/blob/c046f5275ae7201a427b9dc30965d633855bb3be/src/utils.js#L259
@param {Error} err
@returns {boolean}