code: def main():
      
      from spyder.utils.qthelpers import qapplication
      app = qapplication()
      widget = NotebookClient(plugin=None, name='')
      widget.show()
      widget.set_url('http://google.com')
      sys.exit(app.exec_())
docs: Simple test.