I am trying to use Web Inspector remotely, to do this I need to connect to the WebCore using WebSocket. But when the WenInspector loaded function is getting called to create a new web socket socket = new WebSocket("ws://" + host + "/devtools/page/" + page); WebCore is giving "page not found error"
It would be very helpful, if you can suggest me what parameter should I provide in the WebSocket method, so that I can connect to the WebCore and start communication. Another questions is whether do we need any specific web server for this? Currently I am using apache tomcat.
Although remote debugging protocol is implemented in WebCore, the Web
Socket server implementation is port-specific. You can find instructions
for Chromium on this page:
https://developers.google.com/chrome-developer-tools/docs/remote-debu... In
case of Chromium you don't need any additional web server to connect to the
browser remotely. Which WebKit port are you using?
On Wed, Sep 5, 2012 at 11:14 AM, <paldebojy...@gmail.com> wrote:
> Hello All,
> I am trying to use Web Inspector remotely, to do this I need to connect to
> the WebCore using WebSocket. But when the WenInspector loaded function is
> getting called to create a new web socket
> socket = new WebSocket("ws://" + host + "/devtools/page/" + page);
> WebCore is giving "page not found error"
> It would be very helpful, if you can suggest me what parameter should I
> provide in the WebSocket method, so that I can connect to the WebCore and
> start communication. Another questions is whether do we need any specific
> web server for this? Currently I am using apache tomcat.
Thanks for your answer, actually I am using GtkLauncher, and it doesn't have any option to provide the port number. Is there any way to communicate to the Webcore from my javascript/html file?
On Wednesday, September 5, 2012 1:06:21 PM UTC+5:30, Yury Semikhatsky wrote:
> Hi Deb,
> Although remote debugging protocol is implemented in WebCore, the Web > Socket server implementation is port-specific. You can find instructions > for Chromium on this page: > https://developers.google.com/chrome-developer-tools/docs/remote-debu... In > case of Chromium you don't need any additional web server to connect to the > browser remotely. Which WebKit port are you using?
> Thanks, > Yury
> On Wed, Sep 5, 2012 at 11:14 AM, <paldeb...@gmail.com <javascript:>>wrote:
>> Hello All,
>> I am trying to use Web Inspector remotely, to do this I need to connect >> to the WebCore using WebSocket. But when the WenInspector loaded function >> is getting called to create a new web socket >> socket = new WebSocket("ws://" + host + "/devtools/page/" + page); >> WebCore is giving "page not found error"
>> It would be very helpful, if you can suggest me what parameter should I >> provide in the WebSocket method, so that I can connect to the WebCore and >> start communication. Another questions is whether do we need any specific >> web server for this? Currently I am using apache tomcat.
On Wed, Sep 5, 2012 at 12:57 PM, <paldebojy...@gmail.com> wrote:
> Hello Yury,
> Thanks for your answer, actually I am using GtkLauncher, and it doesn't
> have any option to provide the port number.
The bug about remote debugging server support in Gtk is still open:
wkbug.com/88094 so I believe it may no support remote debugging yet. But
you'd better clarify this with Gtk port maintainers.
> Is there any way to communicate to the Webcore from my javascript/html
> file?
If you mean connecting over the remote debugging protocol then no, we don't
expose any special bindings for that for regular pages. You should connect
over WebSocket protocol.
> On Wednesday, September 5, 2012 1:06:21 PM UTC+5:30, Yury Semikhatsky
> wrote:
>> Hi Deb,
>> Although remote debugging protocol is implemented in WebCore, the Web
>> Socket server implementation is port-specific. You can find instructions
>> for Chromium on this page: https://developers.** >> google.com/chrome-developer-**tools/docs/remote-debugging#**remote<https://developers.google.com/chrome-developer-tools/docs/remote-debu...> In
>> case of Chromium you don't need any additional web server to connect to the
>> browser remotely. Which WebKit port are you using?
>> Thanks,
>> Yury
>> On Wed, Sep 5, 2012 at 11:14 AM, <paldeb...@gmail.com> wrote:
>>> Hello All,
>>> I am trying to use Web Inspector remotely, to do this I need to connect
>>> to the WebCore using WebSocket. But when the WenInspector loaded function
>>> is getting called to create a new web socket
>>> socket = new WebSocket("ws://" + host + "/devtools/page/" + page);
>>> WebCore is giving "page not found error"
>>> It would be very helpful, if you can suggest me what parameter should I
>>> provide in the WebSocket method, so that I can connect to the WebCore and
>>> start communication. Another questions is whether do we need any specific
>>> web server for this? Currently I am using apache tomcat.