Sometimes, you need to capture a screenshot with tooltip. But once your
press the screen capture shortcut, the tooltip disappears.
If you are on Mac OS, there is a build-in tool which you can use in this
situation.
Run the following command and get your screen ready in 5 seconds. You can
find your screen capture on your Desktop with the name screencapture.png.
screencapture -T 5 -C ~/Desktop/screencapture.png
The “-T 5” argument set the time delay to 5 seconds.
The “-C” argument ask the command to capture mouse as well.
ballon, screencapture