@wait<EOL><INDENT>def long_click(self, duration=<NUM_LIT>):<DEDENT>
try:<EOL><INDENT>duration = float(duration)<EOL><DEDENT>except ValueError:<EOL><INDENT>raise ValueError('<STR_LIT>'.format(repr(duration)))<EOL><DEDENT>pos_in_percentage = self.get_position(self._focus or '<STR_LIT>')<EOL>self.poco.pre_action('<STR_LIT>', self, pos_in_percentage)<EOL>ret = self.poco.long_click(pos_in_percentage, duration)<EOL>self.poco.post_action('<STR_LIT>', self, pos_in_percentage)<EOL>return ret<EOL>
Perform the long click action on the UI element(s) represented by the UI proxy. If this UI proxy represents a 
set of UI elements, the first one in the set is clicked and the anchor point of the UI element is used as the 
default one. Similar to click but press the screen for the given time interval and then release.

Args:
    duration (:py:obj:`float`): whole action duration.

Return:
    the same as :py:meth:`poco.pocofw.Poco.long_click`, depending on poco agent implementation.