I ran Selenium test and it fails on step #5, step #5 states:
assert element present: xpath=(//span[text()='France'])
But there is <span>
element on the page and it contains "France" as it's content/text.
When I click on "Find target in page" (img #1) it actually highlights the element on the page, but for some reason the test case fails when I run it.
What could be the cause ?
img #1 ("Find target in page" button):
I'm using Selenium version 3.2.5 and firefox-dist-de-60.1.0.ESR-windows.
HTML part related to the span element looks like this:
<span id="application_label">Deutsch</span>