Open a mobile application
When creating Appium connections or scanning mobile applications, you can choose which websites you want to interact with. To do so, use the tosca:webAppUrl capability.
Add the tosca:webAppUrl capability to an Appium connection
To add a website to an Appium connection, follow these steps:
-
Go to the
Mobile page and create or edit a mobile connection.
-
Select New > Capability or New > Capability sets.
-
Define the capability:
Item
Description
Name
tosca:webAppUrl
Value
Enter the URL.
Type
Text
Secret
Define whether you want to store the URL as a secret, so that users can't see it in plain text. We recommend that you choose this option if your URL contains sensitive data, such as passwords.
Note that you can't revert a secret back to plain text and will need to recreate the capability from scratch.
Use the tosca:webAppUrl capability in a scanning session
To open a website while scanning mobile apps, follow these steps:
-
Select Set capabilities.
-
Define the capability:
Item
Description
Name
tosca:webAppUrl
Value
Enter the URL.
Action
Input
Data type
Define the structure and format of the capability.
For native or hybrid applications, make sure you check the Appium capabilities the provider expects in order to properly define them.