visibleByClassName() doesn't work as expected.