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 ...
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 ...
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:
...
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 ...
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: ...
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 ...
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 ...
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.
...
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 ...
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:
...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
webdriver × 17web-access × 12
webservices × 5
webtools × 4
websession × 4
web × 3
automation × 2
import × 1
javascript × 1
webunit × 1