@contextmanager<EOL><INDENT>def fieldset(self, locator):<DEDENT>
with self.scope("<STR_LIT>", locator):<EOL><INDENT>yield<EOL><DEDENT>
Execute the wrapped code within a specific fieldset given the id or legend of that
fieldset.

Args:
    locator (str): The id or legend of the fieldset.