mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
docs(cdp): more python cdp fixes (2)
This commit is contained in:
parent
ff2e5f9120
commit
2fa436675f
@ -41,7 +41,7 @@ client.on("Animation.animationCreated", lambda: print("animation created!"))
|
||||
response = client.send("Animation.getPlaybackRate")
|
||||
print("playback rate is " + str(response["playbackRate"]))
|
||||
client.send("Animation.setPlaybackRate", {
|
||||
playback_rate: response["playbackRate"] / 2
|
||||
playbackRate: response["playbackRate"] / 2
|
||||
})
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user