New Feature: Fixed `capture.canvas` issue as seen in #822 by Thomas-Boi · Pull Request #829 · devicons/devicon

New feature section

Double check these details before you open a PR

  • PR does not match another non-stale PR currently opened
  • PR name matches the format New Feature: a brief description of feature

This PR adds/fixes

Fixes an issue where peek-bot can't take a screenshot as seen in #822. This turns out to be caused by elements not being visible when the screenshot function is called (see this).

The script now gets the screenshot elements in a different way and check that they are visible before screenshotting them.

Notes

This closes #828