JS Path or Xpath syntax for dynamic webpage: Extracting tbody information

I am very new to JS,xpath and HTML but im trying to build a web scrubber for data mining purposes.
So far ChatGPT has been great help in getting what i need done but it seems to struggle with JS paths or xpath referencing.

How would i use CSS_SELECTOR to identify this element called LigandMainTable (refer to image) and its data listed within it? I basically want a script that would read the table data, extract the ligand name (first row), chain ID info (second row), ligand formula (third row), then download the .svg file that is linked in the 4th row (which would be the ligand 2D image).

I am not sure how to structure the syntax to properly extract the proper data type i need from these rows. screenshot of the website + html structure
If theres an efficient way to do this using a standard method, that would be greatly appreciated.