Verifies that the element identified by locator is visible.
