Add capabilities in 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 Resolution
Set the resolution
capability to specify the resolution of your VM before beginning your test.
Network Logs
Set the networkLogs
capability to true
to capture the browser’s performance data, such as network traffic, latency, HTTP requests, and responses in the HAR format.
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
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!