Set active features in newTab

Can I set the active features in a font.newTab(myString) ??
I found font.currentTab.selectedFeatures but couldn’t get through.
Thanks in advance.

This is documented: Glyphs.app Python Scripting API Documentation — Glyphs.app Python Scripting API 3.0 documentation

You can look at the floating features script for some inspiration. Don’t judge the old code too much please, I was young and naive back then.

I’ll have a look at the script and see if I can manage. Thanks!