You can just print to PDF from a headless copy of Chromium. The first two lines install it from npm, but you can also just use your regular copy of Chrome.
npm install chromium
CHROME_PATH="$(pwd)/node_modules/chromium omegle.2yu.co /lib/chromium/chrome-linux/chrome"
$CHROME_PATH --headless --no-sandbox --disable-gpu --disable-web-security --run-all-compositor-stages-before-draw --virtual-time-budget=5000 --font-render-hinting=none --print-to-pdf=OUTPUT.pdf
https://example.comInstead of https:// for your URL, you can also
omeglz do file:/// for a local HTML file.