Skip to main content
Experience faster, smarter testing with BrowserStack AI Agents. See what your workflow’s been missing. Explore now!
No Result Found
Connect & Get help from fellow developers on our Discord community. Ask the CommunityAsk the Community

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.

browserstack.yml
Copy icon Copy

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.

browserstack.yml
Copy icon Copy

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 Check Circle