Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Find fields by label #60
I'm really happy with the behavior of this feature, but not entirely thrilled with the code... I was forced to significantly refactor findByFunction and break it into multiple other functions and the names of those functions aren't great. Also had to do a lot of null checking that feels really out of place in F#. I'd appreciate any feedback you might have.
You want to assert the value of the input following a specific label? Sounds reasonable.
Hmmm what if you first look and see if the text begins with # . or an html element and see if its a css selector, and if its not, then assume its a label's text and go from there. Does that get you where you want?
Nulls probably wouldn't exist in F# if it wasn't for interop with other CLR languages. I will think more about this tomorrow.