move ClassElementLocatorFactory from selenium