poco.drivers.osx.osxui_poco module¶
-
class
OSXPoco
(selector=None, addr=('localhost', 15004), **options)[源代码]¶ -
-
scroll
(direction='vertical', percent=1, duration=2.0)[源代码]¶ Scroll from the lower part to the upper part of the entire screen.
参数: - direction (
str
) – scrolling direction. “vertical” or “horizontal” - percent (
float
) – scrolling distance percentage of the entire screen height or width according to direction - duration (
float
) – time interval in which the action is performed
- direction (
-