The following lines correspond to the output of lines 79-82. I just get an infinite loop instead. I presume that node
elements first child node.FirstChild
's parent ie node.FirstChild.Parent
would be node
itself rather than node.Parent
.
Since the heirarchy is div.color_picker
> div.over_wrap
.
Its probably some Golang concept that I've over looked or something silly that I can't seem to notice. What am I doing wrong?
####Expected result
actual parent