We should improve the application under test if we need a better way to locate elements. Putting locators in mock objects really seems wrong to me.