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 ...
Carl Lange's user avatar
  • 12.9k
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 ...
rhermans's user avatar
  • 35.9k
7 votes
Accepted

How to use WebExecute to retrieve WebElementObject HTML?

Had to dig a bit, but since it's just using the W3C WebDriver stuff you can do it by hand since WebExecute doesn't seem to expose all the requests: ...
b3m2a1's user avatar
  • 46.6k
7 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 ...
Arnoud Buzing's user avatar
6 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: ...
Carl Lange's user avatar
  • 12.9k
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 ...
Ben Izd's user avatar
  • 9,079
4 votes
Accepted

What does this error message about chromedriver mean?

EDIT: It may not work for everyone, but upgrading to 13.3.1 from 13.3 solved the issue for myself and several team members. However, the full outline of my "hack" process is still outlined ...
kickert's user avatar
  • 1,810
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. ...
Murta's user avatar
  • 26k
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 ...
Alexey Popkov's user avatar
2 votes

How to use WebExecute to retrieve WebElementObject HTML?

Another option is to import the HTML as a Wolfram XML expression and pull out the bits you need and then convert them back to a string again: ...
Sjoerd Smit's user avatar
  • 21.6k
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 ...
azerbajdzan's user avatar
  • 7,094

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