'Set birth year for the current user to the specified value.'

def set_birth_year(self, birth_year):

    account_settings_page = AccountSettingsPage(self.browser)
    account_settings_page.visit()
    account_settings_page.wait_for_page()
    self.assertEqual(account_settings_page.value_for_dropdown_field('year_of_birth', str(birth_year), focus_out=True), str(birth_year))
