Charles Proxy can be used as an HTTPS proxy that provides plain text view of the communication between the web browser and SSL web server. You can use Charles to capture network logs for iOS and Android devices.
You can capture traffic between BrowserStack devices and the Application under test with Charles Proxy server and debug information using captured logs.
We recommend that use this configuration if you decide to enable Charles Proxy in your test setup.
Set up Charles Proxy with BrowserStack
Getting Charles to work with BrowserStack involves the following steps:
Set up Charles Proxy


Add proxy details to Local
Use these steps if you want to use the Local app to configure the proxy details.
ip as localhost and the port as 8888. The port value is the same that was set when you configured Charles.Use these steps if you want to use the Local binary to configure the proxy details.
<BrowserStackLocal binary path> --key <your access key> --local-proxy-host localhost --local-proxy-port <charles_proxy_port> --force-proxy --force-local Ensure that you replace the charles_proxy_port with the port value that was set when you configured Charles.
Start an App Live session

After a request is sent, check the Charles app for the captured logs.
Did this page help you?Yes No
We're sorry to hear that. Please share your feedback so we can do better
Submit
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
Any additional feedback?
Submit
Is this page helping you?
We're sorry to hear that. Please share your feedback so we can do better
Submit Skip
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
Any additional feedback?
Submit Skip
Thank you for your valuable feedback!
ncG1vNJzZmivp6x7o77OsKqeqqOprqS3jZympmeUpLC0e8Cpp2akmauycK3Dr5inm5WZeqexwK2sq52jZLCprdGlnKxloKe8ucU%3D