Lines Matching refs:exception_msg
76 exception_msg = 'Script did not ready in time.'
78 self._wait_for_event(self.is_javascript_ready, exception_msg)
90 exception_msg = 'Video did not signal ready in time.'
92 self._wait_for_event(self.is_video_ready, exception_msg)
104 exception_msg = 'Expected current time >%ds.' %duration
110 lambda : self.currentTime() > duration, exception_msg)
135 exception_msg = 'Video did not complete seeking in time.'
137 self._wait_for_event(self.has_video_finished_seeking, exception_msg)
144 def _wait_for_event(self, predicate_function, exception_msg):
150 @param exception_msg: string, an exception message to show when desired
154 fullmsg = exception_msg + ' Waited for %ss' % self.event_timeout