I found the issue: By design OPEN
works even if there is a “non-web page” such as the start page open in the browser because it loads a website by itself. But the executeScript
command needs an already open web page to work since technically this command runs inside the website.
So there are two solutions:
-
Make sure a web page is open (< = that is what I recommend for this test)
-
Or add another OPEN command on top, e. g.
OPEN | https://ui.vision
See here: