Beispiel #1
0
 def execute(self):
     injectJsInFrame(self.m_scriptFile, self.m_scriptEncoding.encoding,
                     os.path.dirname(os.path.abspath(__file__)),
                     self.m_page.mainFrame(), True)
     return not self.m_terminated
 def execute(self):
     injectJsInFrame(self.m_scriptFile, self.m_scriptEncoding.encoding, os.path.dirname(os.path.abspath(__file__)), self.m_page.mainFrame(), True)
     return not self.m_terminated
Beispiel #3
0
 def injectJs(self, filePath):
     return injectJsInFrame(filePath, self.m_scriptEncoding.encoding,
                            self.libraryPath, self.m_page.mainFrame())
 def injectJs(self, filePath):
     return injectJsInFrame(filePath, self.m_scriptEncoding.encoding, self.libraryPath, self.m_page.mainFrame())