How to handle unexpected modal box for every action in test script?

You can write a Groovy method which uses JavaScript. The method will loop, waiting for the dialog to appear. (See Groovy(JavaScript(CSS)) for background on how that works.)

It will take me a little while to pull this together.

1 Like