示例#1
0
 def wrapper(self, *args, **kwargs):
   "Wrapper."
   result = fun(self, *args, **kwargs)
   selenium_utils.handle_alert(self._driver, accept=True)
   return result
示例#2
0
 def wrapper(self, *args, **kwargs):
     "Wrapper."
     result = fun(self, *args, **kwargs)
     selenium_utils.handle_alert(self._driver, accept=True)
     return result