returns an empty string array for that 6th parameter when the method takes a String parameter. When it tries to invoke the method with a String array for the parameter instead of a String you obviously get the exception. I didn't bother trying to figure out the argument Grouper code since I had a workaround to pass all 6 parameters.
If you try to invoke Open Browser with only 5 arguments (omitting the browserOptions arg) it fails with an InvalidArgumentException. For example:
causes the error, which occurs when it actually tries to call the openBrowser method.
Oddly, it does work if you only use 4 parameters or if you specify all 6.
I have debugged it and the issue appears to be that this call in KeywordInvoker:
returns an empty string array for that 6th parameter when the method takes a String parameter. When it tries to invoke the method with a String array for the parameter instead of a String you obviously get the exception. I didn't bother trying to figure out the argument Grouper code since I had a workaround to pass all 6 parameters.