tdrpa.tdcore 1.1.43__py310-none-win_amd64.whl → 1.2.7__py310-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
tdrpa/bot.exe CHANGED
Binary file
@@ -0,0 +1,8 @@
1
+ from .core.tdObject import tdElement
2
+ from playwright.sync_api._generated import ElementHandle, Page
3
+
4
+ __all__ = ['timeout', 'findElement']
5
+
6
+ timeout: int
7
+
8
+ def findElement(selectorString: str, fromElement: tdElement | Page | ElementHandle, timeout: int = None) -> tdElement: ...
@@ -0,0 +1,8 @@
1
+ import uiautomation as auto
2
+ from .core.tdObject import tdElement
3
+
4
+ __all__ = ['timeout', 'findElement']
5
+
6
+ timeout: int
7
+
8
+ def findElement(selectorString: str = None, fromElement: tdElement | auto.Control = None, timeout: int = None) -> tdElement: ...
tdrpa/tdcore/__init__.pyi CHANGED
@@ -1,6 +1,11 @@
1
- _version: str
2
- from .locator.locatorWindows import LocatorWindows as LocatorWindows
3
1
  from .log.log import getLogger as getLogger, loggers as loggers
4
2
  from .util.hotkey import hotkeyPause as hotkeyPause, hotkeyPauseHere as hotkeyPauseHere
5
3
 
6
- __all__ = ['_version','LocatorWindows', 'hotkeyPause', 'hotkeyPauseHere', 'loggers', 'getLogger', 'exception']
4
+ __all__ = ['version', 'LocatorWindows', 'LocatorBrowser', 'hotkeyPause', 'hotkeyPauseHere', 'loggers', 'getLogger', 'exception']
5
+
6
+ version: str
7
+
8
+ # Names in __all__ with no definition:
9
+ # LocatorBrowser
10
+ # LocatorWindows
11
+ # exception
@@ -0,0 +1,8 @@
1
+ from typing import Union
2
+
3
+ import uiautomation
4
+ from playwright.sync_api._generated import ElementHandle
5
+
6
+
7
+ class tdElement:
8
+ _element: Union[uiautomation.Control,ElementHandle]
@@ -0,0 +1,2 @@
1
+ class tdException(Exception): ...
2
+ class tdBotException(tdException): ...
@@ -1,2 +1,4 @@
1
+ isPause: bool
2
+
1
3
  def hotkeyPauseHere() -> None: ...
2
4
  def hotkeyPause(func): ...