← Back to Animation domain

Animation.resolveAnimation

Gets the remote object of the Animation.

Domain: Animation experimental

Parameters

NameTypeDescription
animationIdstringAnimation id.

Returns

NameTypeDescription
remoteObjectRuntime.RemoteObjectCorresponding remote object.

Example Request

{
  "id": 1,
  "method": "Animation.resolveAnimation",
  "params": {
    "animationId": "animationId-value"
  }
}

Example Response

{
  "id": 1,
  "result": {
    "remoteObject": "remoteObject-value"
  }
}

Usage in Node.js

const result = await send('Animation.resolveAnimation', {"animationId": "animationId-value"});
console.log(result);
// {"remoteObject": "remoteObject-value"}