MCPcopy
hub / github.com/emacs-eaf/emacs-application-framework / eval_js

Method eval_js

core/webengine.py:397–403  ·  view source on GitHub ↗

Run JavaScript.

(self, js)

Source from the content-addressed store, hash-verified

395 self.setZoomFactor(float(self.default_zoom))
396
397 def eval_js(self, js):
398 ''' Run JavaScript.'''
399 try:
400 self.web_page.runJavaScript(js)
401 except:
402 import traceback
403 traceback.print_exc()
404
405 def eval_js_file(self, js_file):
406 ''' Run JavaScript from JS file.'''

Callers 15

load_fix_scriptMethod · 0.95
eval_js_fileMethod · 0.95
select_allMethod · 0.95
select_input_textMethod · 0.95
load_marker_fileMethod · 0.95
cleanup_links_domMethod · 0.95
get_link_markersMethod · 0.95
get_text_markersMethod · 0.95
get_code_markersMethod · 0.95
_caret_at_lineMethod · 0.95
set_focus_textMethod · 0.95
focus_inputMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected