I am new to Selenium which is probably why I am stuck.

Here is the screenshot showing inspect where two divs are almost identical but they both have another div inside containing different text values: [Image](https://i.stack.imgur.com/aivEh.png).

Could I somehow choose the div I want by checking if `getText()` is equal to ...?
I found the following way but as far as I know, I would never know the order of the stream:

```
 new ArrayList<>(chromeDriver.findElements(By.xpath("//div[@class='sign-up-row']"))).get(1).click();

```

Thank you guys.