Questions tagged [webdriver]
The webdriver tag has no usage guidance.
17
questions
3
votes
1
answer
126
views
What does this error message about chromedriver mean?
I have been using WebSession to drive a Chrome browser for automation purposes. I'm running Mathematica 13.2 on Ubuntu Linux. Occasionally, my Chrome browser gets updated by an automatic OS process. ...
1
vote
0
answers
37
views
StartWebSession cannot start Firefox driver
I'm trying to launch a web session using StartWebSession[] or StartWebSession["Firefox", Visible -> True] using MMA ...
1
vote
0
answers
67
views
How do I get access to the element which is inside a document in iframe?
If the element is not inside an iframe then the following works:
...
1
vote
0
answers
274
views
How to check the status of browser after every WebExecute command?
When executing commands using WebExecute on the $CurrentWebSession like follows:
...
3
votes
1
answer
260
views
How to select from a dropdown list in WebExecute?
After locating the dropdown using the XPath as follows:
element=First@WebExecute["LocateElements"->"XPath"->"..."];
How do I ...
4
votes
1
answer
151
views
Finding Vaccine Appointments in MA
Everyday I spend a crazy amount of time clicking though each maze of hyperlinks and forms on this horrendous site: https://vaxfinder.mass.gov/
Is there anyway that Mathematica can help speed up the ...
3
votes
1
answer
126
views
Get file downloaded from click in WebSession?
I'm downloading a file by clicking a button from chrome with the WebDriver functionality:
...
0
votes
0
answers
34
views
WebSessionObject from Process
StartWebSession creates a websession which can be controlled with many commands to automate web stuff. It is limited -- what if one wants to include arguments to ...
5
votes
1
answer
286
views
How to send keys to the element in focus with WebExecute
Exploring the WebExecute function, I would like to know how can I send key (or TypeElement) to the element in focus. Here is a toy code using Google.
...
7
votes
2
answers
438
views
How to use WebExecute to retrieve WebElementObject HTML?
I know that I can use WebExecute to retrieve WebElementObject text, as in this example:
...
2
votes
0
answers
225
views
Cannot launch Chrome or Firefox Driver with StartWebSession[]
The Mathematica 12 in my computer cannot launch Chrome or Firefox session correctly. The first error message is
...
13
votes
1
answer
438
views
Capturing complete webimages
I'm trying to use WebImage[] to capture the complete image of a website (yes, it might be very tall). I seem to be having some issues with it:
How to attempt to capture a complete image of the ...
13
votes
1
answer
547
views
Capturing the entire webpage with WebExecute's "CapturePage"
It seems that "CapturePage" in WebExecute only captures the currently visible portion of a website:
Is there some way to ...
6
votes
1
answer
503
views
How to click a button to upload local file with WebExecute?
A webpage has a "browse" button to open the filesystem to select a file and upload it, in html it looks like this:
...
9
votes
1
answer
437
views
Scrape AJAX Website with Webdriver
I hope the new Webdriver functionality can help as the normal Import and HTTPRequest don't work.
The sites I have found are a ...
4
votes
0
answers
59
views
Is it possible to send cookies to ExternalEvaluate["WebDriver-Chrome"]
I'm wondering if it's possible to send cookies with an ExternalEvaluate command to WebDriver-Chrome. I am attempting to grab some data from a page that requires me to be logged in. Additionally, the ...
8
votes
1
answer
876
views
Programmatic browser interaction: How to click on web-page and get new URL and list of links
In Mathematica it's easy to Import data from the web and perform all sort of Web Operations. But the later doesn't allow to simulate a more interactive browser ...