diff --git a/tests/python/gaia-ui-tests/gaiatest/apps/ftu/app.py b/tests/python/gaia-ui-tests/gaiatest/apps/ftu/app.py index c776fe8f4ad4..4cba993ea0d8 100644 --- a/tests/python/gaia-ui-tests/gaiatest/apps/ftu/app.py +++ b/tests/python/gaia-ui-tests/gaiatest/apps/ftu/app.py @@ -45,7 +45,7 @@ class Ftu(Base): # Step Geolocation _section_geolocation_locator = (By.ID, 'geolocation') - _enable_geolocation_checkbox_locator = (By.CSS_SELECTOR, '#geolocation-switch > label') + _enable_geolocation_checkbox_locator = (By.CSS_SELECTOR, '#geolocation-switch > span') # Section Import contacts _section_import_contacts_locator = (By.ID, 'import_contacts')