MCPcopy Create free account
hub / github.com/a943512/PyAibote / StartShowWait

Method StartShowWait

PyAibote/WebBotModel/WebLoadWait.py:61–73  ·  view source on GitHub ↗

进行隐式等待和显示等待模式的切换 Switch between implicit waiting and display waiting modes.

(self, Time: int, RotationTime: int, ThrowException: bool)

Source from the content-addressed store, hash-verified

59 return response
60
61 def StartShowWait(self, Time: int, RotationTime: int, ThrowException: bool):
62 """
63 进行隐式等待和显示等待模式的切换
64 Switch between implicit waiting and display waiting modes.
65 """
66 self.debug(rf"---- Enter the display waiting mode waiting time:{Time}s")
67 self.Show_Waiting = copy.deepcopy(self.Implicit_Waiting)
68 self.Show_Waiting_Frequency = copy.deepcopy(self.Implicit_Waiting_Frequency)
69 self.Show_Waiting_Throwing = copy.deepcopy(self.Implicit_Waiting_Throwing)
70
71 self.Implicit_Waiting = Time
72 self.Implicit_Waiting_Frequency = RotationTime
73 self.Implicit_Waiting_Throwing = ThrowException
74
75 def EndShowWait(self):
76 """

Callers 1

script_mainMethod · 0.45

Calls 1

debugMethod · 0.45

Tested by 1

script_mainMethod · 0.36