def add_custom_field(self, field_name, field_value):
        self.custom_field_value.send_keys(field_name)
        self.add_button.click()
        for div in self._get_elements(*self._input_fields):
            if field_name in div.text:
                field = div.find_element(by.By.CSS_SELECTOR, 'input')
                if not hasattr(self, field_name):
                    self._dynamic_properties[field_name] = field
        self.set_field_value(field_name, field_value)
dataset/ETHPy150Open openstack/horizon/openstack_dashboard/test/integration_tests/regions/forms.py/MetadataFormRegion.add_custom_field/swapped operands of `in`