Skip to main content

Add capabilities in App Automate

Where can I add capabilities?

BrowserStack recommends adding all capabilities to the browserstack.yml file, but you can also configure them in your test script. SDK uses the order of precedence logic to ensure that capabilities are set correctly.

Following are a few examples of how you can add capabilities to the browserstack.yml file.

Change screen orientation

Set the deviceOrientation capability to specify the screen orientation of the mobile device.

browserstack.yml
Copy icon Copy snippet

Network Logs

Set the networkLogs capability to true to capture performance data such as network traffic, latency, HTTP requests and responses in the HAR (HTTP Archive) format.

browserstack.yml
Copy icon Copy snippet

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback!

Talk to an Expert
Download Copy