Web Browser Automation

The Wolfram Language supports detailed built-in automated control of web browsers (including Chrome and Firefox), allowing programmatic simulation of user interactions with webpages.

Web Sessions

(RefLink[StartWebSession, paclet:ref/StartWebSession]) — start an automated web browser session

(RefLink[WebSessionObject, paclet:ref/WebSessionObject]) — symbolic representation of a web browser session

(RefLink[WebSessions, paclet:ref/WebSessions]) — currently active web browser sessions

(RefLink[DeleteObject, paclet:ref/DeleteObject]) — delete a web browser session

Web Commands

(RefLink[WebExecute, paclet:ref/WebExecute]) — execute a wide range of commands in a web browser

(RefLink[$CurrentWebSession, paclet:ref/$CurrentWebSession]) — the current default web session in which to execute commands

Webpages & Elements

(RefLink[WebWindowObject, paclet:ref/WebWindowObject]) — symbolic representation of an open webpage or tab

(RefLink[WebElementObject, paclet:ref/WebElementObject]) — symbolic representation of an element on an open webpage

Complete Webpages

(RefLink[WebImage, paclet:ref/WebImage]) — capture an image of a webpage

(RefLink[Import, paclet:ref/Import]) — import content from a webpage (including links, etc.)

(RefLink[URLRead, paclet:ref/URLRead]) — read from a URL

Operating System Operations

(RefLink[SystemOpen, paclet:ref/SystemOpen]) — open a webpage in the operating system

(RefLink[CurrentScreenImage, paclet:ref/CurrentScreenImage]) — capture a complete image of the screen

JavaScript

(RefLink[ExternalEvaluate, paclet:ref/ExternalEvaluate]) — execute JavaScript code locally