fix: don't take screenhots of skipped or undefined pages