pages/addressbook.py
def edit_record_by_index(self, updated_values, index: int):
        """
        Open Address Book page, then open already existing address entry,
        fill Add Address form with new data and submit changes.

        :param updated_values: object with parameters for fields in Add Address form.
        :param index: position of address in list on Address Book page.
        """

        self.open_address_book_page()
        self.open_edit_page_by_position(index)
        self.fill_address_form(updated_values)
        self.get_continue_button_from_form().click()

        Open Address Book page, then open already existing address entry,
        fill Add Address form with new data and submit changes.

        :param updated_values: object with parameters for fields in Add Address form.
        :param index: position of address in list on Address Book page.
        
Open Address Book page, then open already existing address entry,
fill Add Address form with new data and submit changes.
Open Address Book page then open already existing address entry fill Add Address form with new data and submit changes .
def edit_record_by_index(self, updated_values, index: int):
        self.open_address_book_page()
        self.open_edit_page_by_position(index)
        self.fill_address_form(updated_values)
        self.get_continue_button_from_form().click()
def edit_record_by_index ( self , updated_values , index : int ) : self . open_address_book_page ( ) self . open_edit_page_by_position ( index ) self . fill_address_form ( updated_values ) self . get_continue_button_from_form ( ) . click ( )
Open Address Book page, then open already existing address entry,
fill Add Address form with new data and submit changes.
Open Address Book page then open already existing address entry fill Add Address form with new data and submit changes .
"""
        Open Address Book page, then open already existing address entry,
        fill Add Address form with new data and submit changes.

        :param updated_values: object with parameters for fields in Add Address form.
        :param index: position of address in list on Address Book page.
        """
self
updated_values
object with parameters for fields in Add Address form.
object with parameters for fields in Add Address form .
index
int
position of address in list on Address Book page.
position of address in list on Address Book page .