Skip to content

Add Browser.IsDevTools() #169

@GoogleCodeExporter

Description

@GoogleCodeExporter
There should be a way to differentiate if a browser is a Developer Tools 
window. For example in LoadHandler.OnLoadStart() we're executing app specific 
code and when Browser.ShowDevTools() is called this will result in OnLoadStart 
being called for developer tools window as well.

In the meantime use this code to detect if this is a DevTools browser:

  if re.search(r"^http://127\.0\.0\.1:\d+/devtools/devtools\.html",
               frame.GetUrl()):

Original issue reported on code.google.com by czarek.t...@gmail.com on 21 Jan 2015 at 11:00

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions