assuming css if no locator type provided