For the checkbox (copied from the answer on Stack Overflow
http://stackoverflow.com/a/31431597/1200545):
The problem with the checkbox is that it is not an HTML checkbox - ie input
type=checkbox. Instead it is a md-checkbox, which I believe is from the
Angular Material library. As a result,
You may wish to
review:
https://jkotests.wordpress.com/2012/08/28/locate-element-via-custom-attribute-css-and-xpath/
else something as simple as
browser.text_field(:class,ng-pristine ng-valid
ng-touched).send_keys('thefilename')
The checkbox code eludes me, This looks like the remove