added ability to find an element by any valid locator