A page cannot start Wireshark, so a small program on your machine opens it for the page: the Wireshark bridge, which needs Python 3 and Wireshark.
python3 wireshark-bridge.pywireshark group. If the bridge says
Wireshark cannot run it, join the group, then log in again, or start
the bridge in it:
sudo usermod -aG wireshark $USER
sg wireshark -c "python3 wireshark-bridge.py"Which packets are drawn, and in what color.