Which abstraction level for JS keywords?

Hello,

It is possible to extend Browser library with javascript keywords.

I wonder how small or complex these javascript should be. Should I make them rather technical and construct compound keywords in robot? I can imagine that switching a lot between robot and javascript may have consequence.
On the other hand, if i make bigger keywords in javascript, i may loose debug options.

What do you recommend?

Regards,
Markus

Maybe you can get some inspiration from these Browser extension, if you haven’t found them already :smiley:? GitHub - MarketSquare/robotframework-browser-extensions: Collection of working extensions for Robot Framework® Browser