concatenate them into one string, put some unique value like %n% and replace it in method with the value that you are intreseted in.

Instead of WebElement store String