update region and city locators to be more robust and match country locator
This commit is contained in:
Родитель
56697b36d9
Коммит
aa8ab84f4c
|
@ -24,8 +24,8 @@ class Profile(Base):
|
|||
_groups_locator = (By.ID, 'groups')
|
||||
_languages_locator = (By.ID, 'languages')
|
||||
_location_locator = (By.ID, 'location')
|
||||
_city_locator = (By.CSS_SELECTOR, '#location > a:nth-child(2)')
|
||||
_region_locator = (By.CSS_SELECTOR, '#location > a:nth-child(3)')
|
||||
_city_locator = (By.CSS_SELECTOR, '#location .locality')
|
||||
_region_locator = (By.CSS_SELECTOR, '#location .region')
|
||||
_country_locator = (By.CSS_SELECTOR, '#location .country-name')
|
||||
_profile_message_locator = (By.CSS_SELECTOR, '.alert')
|
||||
_view_as_locator = (By.ID, 'view-privacy-mode')
|
||||
|
|
Загрузка…
Ссылка в новой задаче