Element Should Contain Multiple Strings

Thank you for this @extr3mal! This seems easier, however could you please clarify this for me a bit? I am trying to understand the code you shared but I am having difficulties.

So this line would look like the following under Variables? (I am using “|” for the spaces):

${locator}= | xpath=//div[./div[text()=‘{}’] and ./div[text()=‘{}’] and ./div[text()=‘{}’]] | ${searched _element}

Is this line a python method and should go to the Keywords section?:

String.format | ${locator} | {your_german_word_1} | {your_german_word_2} | {your_german_word_3}

Thank you very much for the help! :slight_smile: