8 votes
Accepted

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

It appears that using BodyByteArray is the preferred approach. ...
Jean-Pierre's user avatar
  • 5,167
7 votes
Accepted

Create a function that takes a symbol and searches wolfram documentation for the page and opens it

If the symbol can be found in Names, two links are created: one each for local and online documentation. For some System names, ...
Syed's user avatar
  • 41.4k
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

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: ...
Victor K.'s user avatar
  • 5,116
5 votes

How to extract WebElementObject's attributes?

After some spelunking into WebUnit`Private, I've found some helpful functions like get, fetch...
swish's user avatar
  • 7,611
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 ...
Ben Izd's user avatar
  • 9,089
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: ...
Arnoud Buzing's 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. ...
Murta's user avatar
  • 26.1k
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.
Jmeeks29ig's user avatar
  • 1,427
3 votes
Accepted

WebExecute to click and select next page

Update I was wrong, the element can be selected using the CSSSelector ...
Rohit Namjoshi's 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....
Steffen Jaeschke's 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,...
Syed's user avatar
  • 41.4k
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. ...
H42's user avatar
  • 3,439

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