'executeJavascript in Vaadin Testbench

when I try to get via UI.getCurrent().getPage() to executeJs , it says getPage() (or something above is null). How can I execute Javascript Commands in Testbench then?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source