How to get value attribute from an < li > element of HTML in Julia?

Why did you not try the code above? If I do

li_elements = children(dv[1])
li_vals = [ getattr(li, "value") for li in li_elements ]

I get exactly what you asked for and I only had to rename the variable containing the parent.

2 Likes