ScreenshotNeo

Blog

Guides for capturing the web

How to take clean screenshots, turn HTML into images and PDFs, run headless browsers, and give AI agents eyes. Written by the team that builds ScreenshotNeo.

How-to10 min read

How to Generate Link Preview Images

Create a share image, publish it at a public URL, and point your page’s Open Graph metadata to it. This guide covers static images, dynamic generation, validation, and common failures.

How-to10 min read

How to Reverse XPath Expressions

Learn when to use XPath reverse axes and when to reverse a sequence, with clear examples, runnable code, and fixes for common predicate and compatibility errors.

How-to10 min read

How to Take Screenshots with Splash

Use Splash Lua scripts to capture viewport, full-page, cropped, and element screenshots, with runnable examples and troubleshooting.

How-to10 min read

How to Parse HTML with Regular Expressions

Regex can extract a known pattern from controlled HTML, but it cannot reliably build an HTML document tree. Here’s when to use it, runnable examples, and when to switch to a parser.