Fix lint.
This commit is contained in:
parent
ea1921defd
commit
8ecc3a3bb0
@ -1572,8 +1572,8 @@ class CommandDispatcher:
|
||||
Args:
|
||||
js_code: The string to evaluate.
|
||||
"""
|
||||
out = self._current_widget().page().mainFrame().evaluateJavaScript(
|
||||
js_code)
|
||||
frame = self._current_widget().page().mainFrame()
|
||||
out = frame.evaluateJavaScript(js_code)
|
||||
|
||||
if out is None:
|
||||
# Getting the actual error (if any) seems to be difficult. The
|
||||
|
Loading…
Reference in New Issue
Block a user