Allow regular expression in switchToWindowTitle

Hi everyone,

WebUI.switchToWindowTitle(“.Google.”) does not work. Does the regex not allow to use in this keyword?


No, unfortunately. It needs a string:


But that’s a reasonable thing to want to do, I think. I’ll move this to the Suggestions category.

Also, just FYI, if it did work, it would look like this:

1 Like