0

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?

Sebastian G.
  • 616
  • 1
  • 7
  • 25

1 Answers1

3

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

You can find some extra information in TestBench docs

Guille
  • 449
  • 3
  • 6