Home > Software design >  executeJavascript in Vaadin Testbench
executeJavascript in Vaadin Testbench

Time:03-01

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?

CodePudding user response:

In a TestBench test you can use executeScript(script, args); to execute Javascript

You can find some extra information in TestBench docs

  • Related