Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 iOS 模拟器上自动化一些测试,并且我想通过 browsermob 代理路由流量。由于您无法在模拟器上设置代理,我认为最好的方法是通过代理路由运行它的 Mac 上的所有流量。我怎么能这样做(通过代码)?
最后,我使用了独立代理并使用 REST API 通过代码与其交互。