Modify Network Request for BrowserStack Local

Prerequisite

  1. Download Requestly Desktop app

  2. Follow the instructions mentioned there and enable system wide proxy

  3. You will also need your browser stack access key.

    1. Go to your browser stack account’s settings page - https://www.browserstack.com/accounts/settings

    2. Under the product section you should see an Access Key under the Local Testing section

Next you will need to setup the BrowserStackLocal App

Setup BrowserStackLocal

  1. Download the BrowserStackLocal App

  2. Start the Local App

  3. Open the Local dashboard at http://localhost:45454/

  4. Under Tunnel Settings, set the ip and port as shown in the Requestly dashboard

  5. Enable the Force Local option.

  6. Click Show More and enable Force Proxy and MITM Proxy options.

  7. Scroll further and click Update to apply the settings.

Start an App Live session

  1. Log in to the App Live dashboard.

  2. Verify that Force Local is enabled.

  3. In Devtools, click the Network tab, and select the Enable for all traffic option. Click Apply.

You should now be able to see all the requests from your app session running inside browserstack. You can also modify these requests using Requestly Rules and see them take effect inside the Live session.

Updated on