Somewhere on a page there exists this element:
№ 81776925
For me this number (that is 81776925) is crucial.
My xpath:
"//span[contains (text(), ‘№ 81776925’ )]"
Not found.
Could you help me find the element by that very number?
CodePudding user response:
№
and 81776925
are in different lines hence the xpath:
"//span[contains (text(), ‘№ 81776925’ )]"
can't locate the element.
You can use:
"//span[contains(., '№') and contains(., '81776925')]"