Skip to main content
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
7 votes

Import data from a current web session?

In 11.3 you can do: ExternalEvaluate[session, "JavascriptExecute" -> "return document.documentElement.outerHTML;"] In 12.0 and up, the syntax has change a ...
Arnoud Buzing's user avatar
6 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,319
6 votes
Accepted

Extracting a Hyperlink with WebExecute

Here is a way with no JavaScript. Using the getAttribute function from this answer (by @swish) ...
Murta's user avatar
  • 26.3k
5 votes

How to start an incognito web session?

In short, probably not. There is no default option for this in the documentation (as I'm sure you're aware). Without a change to the internals of the function, this probably only leaves you with the ...
Sterling's user avatar
  • 553
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,840
4 votes

Extracting a Hyperlink with WebExecute

As stated in the comment, I think the question was not very well specified so it would be quite hard to give a good satisfactory answer. However, I did not know about ...
Shwouchk's user avatar
  • 507
4 votes
Accepted

Import data from a current web session?

This will work on Mathematica 11.3, and not in 12 as websession[] seems to have changed. ...
rhermans's user avatar
  • 36.8k
4 votes

Import data from a current web session?

Here is a fairly stupid workaround to solve the above problem. As suggested by rhermans, we can first obtain the html text of the webpage after it has finished loading: ...
Kagaratsch's user avatar
2 votes
Accepted

How to start an incognito web session?

The simple workaround is to tweak to WebUnit`Private`setsession by adding the --incognito arg: ...
user5601's user avatar
  • 3,675
1 vote
Accepted

automatic extracting number from a text with given signs

Note that many websites will not let you have their plaintext easily, if at all. There are all sorts of wrappers around useful information. That's why search is a lucrative business. Having said that,...
Syed's user avatar
  • 55.7k
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
  • 19.7k
1 vote

Extracting a Hyperlink with WebExecute

...
user1066's user avatar
  • 20.3k

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