本文介绍了如何在Captive Portal中调试浏览器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!



有人知道我可以调试吗?

>

我已经尝试过:


  1. 我试过运行一个模拟器,但是模拟器不会打开门户。

  2. 我已尝试将iPhone连接到我的Mac并使用Safari进行调试 - 开发,但只有在iPhone运行Safari时才会显示调试信息,而不是Captive Portal


解决方案

过去我不得不这样做,对我有用抓住强制门户页面的URL(通常可以通过使用curl访问google或某些东西来获取此URL,并捕获将重定向到专用门户页面的响应。)



一旦你有了URL,只需将其加载到移动Safari中并使用调试模式。强制门户窗口只是一个 UIWebView 使用移动Safari,所以调试应该是一样的。



不幸的是没有我知道直接在强制门户窗口中进行调试。


The Captive Portal has a browser that sometimes opens up when you attempt to connect to a wireless network.

Does anyone know how I can debug it?

What I've already tried:

  1. I have tried running a simulator, but the simulator wont open the portal.
  2. I have tried connecting an iPhone to my mac and debug using Safari - develop, but that only shows debug information when the iPhone is running Safari, not the Captive Portal.
解决方案

I've had to do this in the past, what worked for me was to grab the URL of the captive portal page (You can usually obtain this by using curl to visit google or something, and capturing the response which will redirect you to the captive portal page.)

Once you have the URL, just load it in mobile safari and use the debug mode. The captive portal window is just a UIWebView using mobile safari so the debug should be the same.

Unfortunately there's no way that I know to debug directly in the captive portal window.

这篇关于如何在Captive Portal中调试浏览器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 13:53