Example #1
0
 def _setup_webpage_events(self):
     self._load_finished = WrappedSignal(
         self.web_page.mainFrame().loadFinished)
     self.web_page.mainFrame().loadFinished.connect(self._on_load_finished)
     self.web_page.mainFrame().urlChanged.connect(self._on_url_changed)
     self.web_page.mainFrame().javaScriptWindowObjectCleared.connect(
         self._on_javascript_window_object_cleared)
     self.logger.add_web_page(self.web_page)
Example #2
0
 def _setup_webpage_events(self):
     main_frame = self.web_page.mainFrame()
     self._load_finished = WrappedSignal(main_frame.loadFinished)
     main_frame.loadFinished.connect(self._on_load_finished)
     main_frame.urlChanged.connect(self._on_url_changed)
     main_frame.javaScriptWindowObjectCleared.connect(
         self._on_javascript_window_object_cleared)
     self._webpage_logger = WebkitEventLogger(self.logger)
Example #3
0
    def _setup_webpage_events(self):
        self._load_finished = WrappedSignal(self.web_view.loadFinished)
        self._render_terminated = WrappedSignal(self.web_view.renderProcessTerminated)

        self.web_view.renderProcessTerminated.connect(self._on_render_terminated)
        self.web_view.loadFinished.connect(self._on_load_finished)
Example #4
0
 def _setup_webpage_events(self):
     self._load_finished = WrappedSignal(
         self.web_page.mainFrame().loadFinished)
     self.web_page.mainFrame().loadFinished.connect(self._on_load_finished)
     self.web_page.mainFrame().urlChanged.connect(self._on_url_changed)