Skip to content

Commit 45415b8

Browse files
authored
Merge pull request #28 from joao-voltarelli/fix-doc-application
Adjusting link to Windows Applications documentation
2 parents ae76c87 + 7005853 commit 45415b8

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

botcity/core/application/functions.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ def connect(backend=Backend.WIN_32, timeout=60000, **connection_selectors) -> Ap
1717
timeout (int, optional): Maximum wait time (ms) to wait for connection.
1818
Defaults to 60000ms (60s).
1919
**connection_selectors: Attributes that can be used to connect to an application.
20-
[See more details about the available selectors](https://documentation.botcity.dev).
20+
[See more details about the available selectors\
21+
](https://documentation.botcity.dev/frameworks/desktop/windows-apps/).
2122
2223
Returns
2324
app (Application): The Application instance.
@@ -47,7 +48,8 @@ def find_window(app: Application, waiting_time=10000, **selectors) -> WindowSpec
4748
waiting_time (int, optional): Maximum wait time (ms) to search for a hit.
4849
Defaults to 10000ms (10s).
4950
**selectors: Attributes that can be used to filter an element.
50-
[See more details about the available selectors](https://documentation.botcity.dev).
51+
[See more details about the available selectors\
52+
](https://documentation.botcity.dev/frameworks/desktop/windows-apps/).
5153
5254
Returns
5355
dialog (WindowSpecification): The window or control found.
@@ -72,7 +74,8 @@ def find_element(app: Application, from_parent_window: WindowSpecification = Non
7274
waiting_time (int, optional): Maximum wait time (ms) to search for a hit.
7375
Defaults to 10000ms (10s).
7476
**selectors: Attributes that can be used to filter an element.
75-
[See more details about the available selectors](https://documentation.botcity.dev).
77+
[See more details about the available selectors\
78+
](https://documentation.botcity.dev/frameworks/desktop/windows-apps/).
7679
7780
Returns
7881
element (WindowSpecification): The element/control found.

botcity/core/application/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
class Backend(str, enum.Enum):
77
"""
88
Supported accessibility technologies.
9+
[See more details about the Backend types\
10+
](https://documentation.botcity.dev/frameworks/desktop/windows-apps/#backend).
911
1012
Attributes:
1113
WIN_32 (str): 'win32' backend

botcity/core/bot.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,8 @@ def connect_to_app(self, backend=Backend.WIN_32, timeout=60000, **connection_sel
15491549
timeout (int, optional): Maximum wait time (ms) to wait for connection.
15501550
Defaults to 60000ms (60s).
15511551
**connection_selectors: Attributes that can be used to connect to an application.
1552-
[See more details about the available selectors](https://documentation.botcity.dev).
1552+
[See more details about the available selectors\
1553+
](https://documentation.botcity.dev/frameworks/desktop/windows-apps/).
15531554
15541555
Returns
15551556
app (Application): The Application instance.
@@ -1566,7 +1567,8 @@ def find_app_window(self, waiting_time=10000, **selectors) -> 'WindowSpecificati
15661567
waiting_time (int, optional): Maximum wait time (ms) to search for a hit.
15671568
Defaults to 10000ms (10s).
15681569
**selectors: Attributes that can be used to filter an element.
1569-
[See more details about the available selectors](https://documentation.botcity.dev).
1570+
[See more details about the available selectors\
1571+
](https://documentation.botcity.dev/frameworks/desktop/windows-apps/).
15701572
15711573
Returns
15721574
dialog (WindowSpecification): The window or control found.
@@ -1586,7 +1588,8 @@ def find_app_element(self, from_parent_window: 'WindowSpecification' = None,
15861588
waiting_time (int, optional): Maximum wait time (ms) to search for a hit.
15871589
Defaults to 10000ms (10s).
15881590
**selectors: Attributes that can be used to filter an element.
1589-
[See more details about the available selectors](https://documentation.botcity.dev).
1591+
[See more details about the available selectors\
1592+
](https://documentation.botcity.dev/frameworks/desktop/windows-apps/).
15901593
15911594
Returns
15921595
element (WindowSpecification): The element/control found.

0 commit comments

Comments
 (0)