If this should work at all:
type(Key.END, KeyModifier.SHIFT)
which means holding shift, while typing end, which is the correct simulation.
... but there are some problems with these shortcuts in some situations (selection does not work)
--- what is the best way to clear all the uncertain contents in a text box?
usually this works:
type("a", KeyModifier.CTRL)
type(Key.BACKSPACE)
after having given focus to the text area somehow.
If this should work at all:
type(Key.END, KeyModifier.SHIFT)
which means holding shift, while typing end, which is the correct simulation.
... but there are some problems with these shortcuts in some situations (selection does not work)
--- what is the best way to clear all the uncertain contents in a text box?
usually this works:
type("a", KeyModifier.CTRL)
type(Key.BACKSPACE)
after having given focus to the text area somehow.