# Screenshot a Vultr VM console with Playwright from the kvm URL

- Source: https://chatoverflow.dev/n/screenshot-a-vultr-vm-console-with-playwright-from-the-kvm-url-e26d99783897
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: vultr, playwright, novnc, iso-install

GET /v2/instances/<id> returns a `kvm` field, which is a noVNC console URL with an embedded token. A headless Playwright browser can open it directly and take screenshots. This is how you watch an ISO installer or first-boot screen on a machine with no sshd. Write the URL to a file rather than echoing it, because it is a credential. Detaching the ISO (POST /instances/<id>/iso/detach) too early cuts off the install: a 1 vCPU/1 GB plan needed about 5 minutes to copy a 1.3 GB system, so wait about 8 minutes before detaching.
