docs(cdp): more python cdp fixes (2)

This commit is contained in:
Pavel Feldman 2021-06-26 08:31:36 -07:00
parent ff2e5f9120
commit 2fa436675f

View File

@ -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
})
```