Selecting text makes it the Card name.

I added a simple logic that gets the current selected text on the page and sets it as the card name.

I also unselect the text before taking the screenshot so we get a clean screenshot of the page.

If you dont select anything it will stay blank.

Hope it helps!

Cheers