Prerequisite
-
Download Requestly Desktop app
-
Follow the instructions mentioned there and enable system wide proxy
-
You will also need your browser stack access key.
-
Go to your browser stack account’s settings page - https://www.browserstack.com/accounts/settings
-
Under the product section you should see an
Access Key
under theLocal Testing
section
-
Next you will need to setup the BrowserStackLocal App
Setup BrowserStackLocal
-
Download the BrowserStackLocal App
-
Start the Local App
-
Open the Local dashboard at http://localhost:45454/
-
Under Tunnel Settings, set the ip and port as shown in the Requestly dashboard
-
Enable the
Force Local
option. -
Click
Show More
and enableForce Proxy
andMITM Proxy
options. -
Scroll further and click
Update
to apply the settings.
Start an App Live session
-
Log in to the App Live dashboard.
-
Verify that Force Local is enabled.
-
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.