I am searching for the part of the webpage that goes:
<TR class='title'><TD colspan=3 bgcolor=#C0C0C0>Order number 6097279</TD></TR>
I want to pull out the number - which changes every time from the text (i.e.: 'Order number 6097279' gives me the string '6097279')
I have tried the following and get an 'unable to locate element' error:
find_element_by_xpath("//tr[@class='title']");
Why isn't this working?
What is the best xpath code to pull this out?
OK, I downloaded and installed firepath - and it found that the
'<TRclass='title'>' is actually '<TRclass='title even'>'...even though
the page source shows it as just 'title'...
Very interesting tool, thanks!
Hopefully that solve this problem - and the tool should help on other
similar problems...