OnetapInc / chromy

Chromy is a library for operating headless chrome. 🍺🍺🍺
MIT License
605 stars 41 forks source link

Make select function work with optgroup tags #94

Closed smallfield closed 6 years ago

smallfield commented 6 years ago

select function was using child combinator (>) to find option tags, so they can't change their descendant option tags like within optgroup. The change will use the descendant selector to find all options within the select tag.

dotneet commented 6 years ago

@smallfield Thank you for contribution!