8 votes
Accepted

Garbled code when using URLSubmit[] to request CJK web page

It appears that using BodyByteArray is the preferred approach. ...
user avatar
  • 4,482
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 ...
user avatar
7 votes

How to extract WebElementObject's attributes?

As of 12.3 (I haven't checked the earlier versions), there is an undocumented command ElementAttribute to extract attributes: ...
user avatar
  • 3,409
5 votes

How to extract WebElementObject's attributes?

After some spelunking into WebUnit`Private, I've found some helpful functions like get, fetch...
user avatar
  • 7,095
4 votes
Accepted

Change DataStructure (or maybe just a symbol) from JLink/Java program

I've tested this code with Mathematica's default JDK (version 11.0.12, Mathematica 13.0.1). Assume I've run an echo server on 127.0.0.1:8000. Let's import ...
user avatar
  • 7,159
4 votes

Can WebExcute click on a button on a webpage that has been created with Javascript?

I would probably do it like this. Start a new session: browser = StartWebSession[] Open the page in question: ...
user avatar
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.5k
3 votes

How can I deal with a 502 error?

Alright, I got into contact with the support for the API, and the problem was resolved on their end. Apparently, it was an error in the routers' networking configuration.
user avatar
  • 1,397
3 votes
Accepted

WebExecute to click and select next page

Update I was wrong, the element can be selected using the CSSSelector ...
user avatar
2 votes
Accepted

Is it possible to create Android App Bundle (aab) for Google play with Wolfram language/Mathematica?

Wolfram Inc. changes this concept rather often but since some time the API are gathered into the Wolfram Alpha Pro product. The central page for product information is https://products.wolframalpha....
user avatar
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,...
user avatar
  • 16.3k
1 vote

Unable to use the Import[] function to get the clickable hyperlinks of a page

I just found an answer to my own question. I'm not sure it's a good answer since it would open a new browser. I would prefer to do it headlessly. ...
user avatar
  • 3,389

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