Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Commit

Permalink
Better docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfe1 committed Aug 4, 2022
1 parent f861c0d commit 901d15b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/DesktopLibraryDocumentation.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/MobileLibraryDocumentation.html

Large diffs are not rendered by default.

11 changes: 10 additions & 1 deletion src/ApplicationLibrary/DesktopLibrary.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class DesktopLibrary(AppiumLibrary):
The ``image`` locator strategy can only be used with Appium v1.18.0 or higher.
Example tests using the windows calculator are located in the tests directory.
Example tests using the windows calculator and notepad are located in the tests directory.
= Use of Wait Keywords =
Expand Down Expand Up @@ -257,6 +257,8 @@ def open_application(self, remote_url, alias=None, window_name=None, splash_dela
If your application has a splash screen please supply the window name of the final window that will appear.
For the capabilities of appium server and Windows please check http://appium.io/docs/en/drivers/windows
Desired capabilities for WinAppDriver (platformName, appArguments, app, etc) can be found here: https://github.com/appium/appium-windows-driver#usage
| *Option* | *Man.* | *Description* |
| remote_url | Yes | WinAppDriver or Appium server url |
| alias | No | Alias |
Expand Down Expand Up @@ -353,6 +355,9 @@ def switch_application_by_name(self, remote_url, window_name, alias=None, timeou
"""Switches to a currently opened window by ``window_name``.
For the capabilities of appium server and Windows,
Please check http://appium.io/docs/en/drivers/windows
Desired capabilities for WinAppDriver (platformName, appArguments, app, etc) can be found here: https://github.com/appium/appium-windows-driver#usage
| *Option* | *Man.* | *Description* |
| remote_url | Yes | WinAppDriver or Appium server url |
| window_name | Yes | Window name you wish to attach |
Expand Down Expand Up @@ -422,6 +427,10 @@ def switch_application_by_locator(self, remote_url, locator=None, alias=None, ti
For the capabilities of appium server and Windows,
Please check http://appium.io/docs/en/drivers/windows
Desired capabilities for WinAppDriver (platformName, appArguments, app, etc) can be found here: https://github.com/appium/appium-windows-driver#usage
| *Option* | *Man.* | *Description* |
| remote_url | Yes | WinAppDriver or Appium server url |
| locator | Yes | Locator for window name you wish to attach |
Expand Down

0 comments on commit 901d15b

Please sign in to comment.