-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update capability handling with 'appium:' prefix
- Loading branch information
1 parent
19cf733
commit 7a0e5cf
Showing
5 changed files
with
33 additions
and
16 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
appium/src/main/java/eu/tsystems/mms/tic/testframework/appium/AppiumCapabilityHelper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package eu.tsystems.mms.tic.testframework.appium; | ||
|
||
/** | ||
* Created on 2024-06-11 | ||
* | ||
* The Appium client convert all Appium specific capabilities and adds the prefix 'appium:'. | ||
* This should help to read a capability. | ||
*/ | ||
public interface AppiumCapabilityHelper { | ||
|
||
default String getAppiumCap(final String capabilityName) { | ||
return "appium:" + capabilityName; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters