15 votes

Capturing the entire webpage with WebExecute's "CapturePage"

The WebExecute framework uses functions specified by the W3C WebDriver spec. Unfortunately, the "Screenshot" functionality doesn't specifically allow for taking a screenshot of the entire page - just ...
user avatar
  • 12.6k
8 votes

Programmatic browser interaction: How to click on web-page and get new URL and list of links

Since Mathematica 11.3 there is an experimental implementation for WebDriver, a proposed W3C standard that currently supports Chrome and Firefox web browsers. It allows actions such as ...
user avatar
  • 28.9k
6 votes
Accepted

How to click a button to upload local file with WebExecute?

This can not be done with WebExecute because opening files from the local file system is always handled with the operating system's file dialog. It would be a big ...
user avatar
5 votes

Finding Vaccine Appointments in MA

Disclaimer: This answer and all of the codes created only for educational purposes and the author does not hold any responsibility. WARNING: Since running the codes below will put heavy pressure on ...
user avatar
  • 5,089
4 votes
Accepted

Scrape AJAX Website with Webdriver

For me, the request is not unsuccessful (it gives a 200 status code). However, the JSON it returns throws an error when you attempt to import it: ...
user avatar
  • 12.6k
4 votes
Accepted

How to send keys to the element in focus with WebExecute

After some web search, I found this solution using this interesting CSS Pseudo-class focus. ...
user avatar
  • 25.3k
2 votes
Accepted

Capturing complete webimages

On the Documentation page workflow/CaptureAnEntireWebpage you have detailed answer to your question (note that the browser must be run in headless mode, with ...
user avatar
1 vote
Accepted

Get file downloaded from click in WebSession?

Regarding that your code does not work with StartWebSession[Visible->False] seems to be a bug. Here is my code that works with ...
user avatar
  • 2,503

Only top scored, non community-wiki answers of a minimum length are eligible