Webpage DOM & CSS Analyzer
This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?
See alternative ActorsWebpage DOM & CSS Analyzer
Example showing how to use headless Chromium with Puppeteer to open a web page, fetch the list of DOM nodes on the pages and obtain CSS styling information for each HTML element. The actor uses the Chrome DevTools Protocol to access the required browser functionality.
You can access the Webpage DOM & CSS Analyzer programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1echo '{}' |
2apify call jancurn/example-analyze-dom-css --silent --output-dataset
Webpage DOM & CSS Analyzer API through CLI
The Apify CLI is the official tool that allows you to use Webpage DOM & CSS Analyzer locally, providing convenience functions and automatic retries on errors.
Install the Apify CLI
1npm i -g apify-cli
2apify login
Other API clients include: