How to use execute_script on nodriver ? #1849
Unanswered
mashien0201
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Tab.evaluate , Tab.js_dumps |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ultrafunkamsterdam please can you give as an example of how use Tab.evaluate or tab.js_dumps to execute JS from nodriver? For example, I need to scroll a div tag section (no the full page). This code does not work: div = await tab.select('[class=myclass]') |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I looked through some nodriver source codes, but I didn’t seem to see any methods related to execute_script. Is it not possible to inject javascript into nodriver?
Beta Was this translation helpful? Give feedback.
All reactions