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