File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -257,9 +257,9 @@ async def move(
257
257
{"objectId" : elem ._remoteObject ["objectId" ]},
258
258
)
259
259
except :
260
- await elem .evaluate (
261
- "e => e.scrollIntoView()"
262
- ) # use regular JS scroll method as a fallback
260
+ await self . page .evaluate (
261
+ "e => e.scrollIntoView()" , elem
262
+ ) # use regular JS scroll method as a fallback (use Page.evaluate for backwards compatibility)
263
263
box = await getElementBox (self .page , elem )
264
264
if box is None :
265
265
raise Exception (
Original file line number Diff line number Diff line change 8
8
README = (HERE / "README.md" ).read_text ()
9
9
setuptools .setup (
10
10
name = "pyppeteer_ghost_cursor" ,
11
- version = "0.2.0 " ,
11
+ version = "0.2.1 " ,
12
12
description = "Pyppeteer implementation of Xetera/ghost-cursor" ,
13
13
long_description = README ,
14
14
long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments