Python Forum
Path to the desired value - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html)
+--- Thread: Path to the desired value (/thread-34362.html)



Path to the desired value - Irv1n - Jul-24-2021

Hi I try to read text from path:
browser.find_element_by_xpath("//table[@class=' example display cell-border records_list']/tbody/tr/td[5]").text
but have empty string.

The value I need is circled in Attachments:
[attachment=1183]
Can somebody help me with this?


RE: Path to the desired value - Larz60+ - Jul-24-2021

what is the URL?


RE: Path to the desired value - ndc85430 - Jul-25-2021

What have you done to debug the problem? You at least need to try something. For example, have you tried building up the path bit by bit to see if it returns what you expect?