Questions tagged [webdriver]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
34 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: ...
user avatar
  • 8,105
1 vote
0 answers
197 views

How to check the status of browser after every WebExecute command?

When executing commands using WebExecute on the $CurrentWebSession like follows: ...
user avatar
  • 8,105
2 votes
0 answers
104 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 ...
user avatar
  • 8,105
4 votes
1 answer
129 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 ...
user avatar
  • 3,720
3 votes
1 answer
97 views

Get file downloaded from click in WebSession?

I'm downloading a file by clicking a button from chrome with the WebDriver functionality: ...
user avatar
  • 30.3k
0 votes
0 answers
31 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 ...
user avatar
  • 2,638
5 votes
1 answer
163 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. ...
user avatar
  • 25.3k
2 votes
0 answers
188 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 ...
user avatar
13 votes
1 answer
409 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 ...
user avatar
  • 3,720
12 votes
1 answer
497 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 ...
user avatar
  • 30.3k
5 votes
1 answer
438 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: ...
user avatar
  • 30.3k
8 votes
1 answer
372 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 ...
user avatar
  • 1,269
4 votes
0 answers
48 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 ...
user avatar
8 votes
1 answer
785 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 ...
user avatar
  • 28.7k