fix(tests): fix adding custom locators test to work on firefox