How to interact with webpage button

8 vues (au cours des 30 derniers jours)
Brian Parme
Brian Parme le 21 Mai 2020
Modifié(e) : Anudeep Kumar le 26 Juin 2025
I am trying to grab data from a webpage, but when I go to the url, the first screen requires me to click one of two buttons. After clicking one of them, it then proceeds to the desired page. My question is how can I use webwrite or something else to tell MATLAB to click on one of the buttons.
If I use web(), I can click on the button but I need to do it programically. I can look at the page source of that button page but I'm not familiar enough with what I'm looking at.
Some more info:
When I go to the first url and click the button, this is what the web developer tool returns:
Request URL: https://www......... <url here>
Request Method: POST
Request URL: https://www......... <url here>
Request Method: GET
I think I can use webwrite to pass the HTTP requests, but do I use the POST or GET and do I use those urls in my matlab function?
  3 commentaires
Aldo Sandoval
Aldo Sandoval le 20 Déc 2022
did you guys solve this issue, I am also trying to navigate a website by clicking some buttons.
Anudeep Kumar
Anudeep Kumar le 26 Juin 2025
Modifié(e) : Anudeep Kumar le 26 Juin 2025

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Scope Variables and Generate Names dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by