I am working with protractor and BDD. I want to check that the text that is present in a body of a website is the correct one. I have three dropdown boxes and the text depends on these 3 options.
I am going to read the text from the website using getText() and I want it to compare with the expected text. This expected text depends on the value of the three dropdown boxes and the section of the website, so I need to create a 4D array.
How can I declare the array and assign the expected text?
I need something like this:
template[0][2][1][0]='this is the expected text';