this failed on master/Travis because the element can be out of the viewport when there are lots of options.