Bonjour,
Je voudrais automatiser une recherche pour mes besoins personnels.
Pour l'instant, j'arrive avec Selenium, à afficher la page qui m'intéresse.
Sur cette page, je voudrais récupérer certains éléments d'un tableau.
Voici un extrait du code source de la page :
Comme je le disais, cette page est un tableau et je voudrais y récupérer les infos suivantes : "COCO Albin" et "Validée".
Code HTML : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63 <div id="pagination" align="center"> <table border="0" class="pagination"> <tr> <td> <strong><img src="image/table/prevPageDisabled.gif" alt="Prec" border="0"/></strong> </td> <td align="center" width="100%" class="selected" onClick="javascript:location='candidatures.recherche?ACTION=0&page=1'"> <strong>1</strong> </td> <td><strong><img src="image/table/nextPageDisabled.gif" alt="Suiv" border="0"/></strong></td> </tr> </table> <br/> </div> <form name="frmListe" action="candidatures.recherche?ACTION=1" method="post"> <table border="0" width="100%" class="tableau_resultats"> <tr> <th width="6%" align="left"><a href="candidatures.recherche?ACTION=4&colonne=g_cn_cod&tri=Asc">N°</a> </th> <th width="18%" align="left"><a href="candidatures.recherche?ACTION=4&colonne=g_cn_nom&tri=Asc">Nom</a> </th> <th width="5%" align="left"><a href="candidatures.recherche?ACTION=4&colonne=g_ea_cod_ori&tri=Asc">UAI</a> </th> <th width="25%" align="left" ><a href="candidatures.recherche?ACTION=4&colonne=g_ea_lib_ori&tri=Asc">Etablissement</a> </th> <th width="25%"><a href="candidatures.recherche?ACTION=4&colonne=g_fl_lib_ins&tri=Asc">Formation</a> </th> <th width="3%"><a href="candidatures.recherche?ACTION=4&colonne=i_is_flc_dos&tri=Asc">Papier(s)</a> </th> <th width="3%"><a href="candidatures.recherche?ACTION=4&colonne=i_is_val&tri=Asc">Confirmée</a> </th> <th width="6%"><a href="candidatures.recherche?ACTION=4&colonne=i_ep_cod&tri=Asc">Suivi</a> </th> <th width="3%">Procédure</th> </tr> <tr class="alt" onClick="javascript:afficherDossier(193920, '&cx_g_ti_cod=6450', null)"> <td align="center"><strong>193920</strong></td> <td>COCO Albin</td> <td>0022B</td> <td>Lycée Truc - Trifouillis-les-oies</td> <td>Demande </td> <td align="center">Non</td> <td align="center"> <img src="image/ok.png" alt="Validée" /> </td> <td> Dossier électronique </td> <td align="center"> PN </td> </tr>
Je cherche sans succès depuis une heure. Un peu d'aide, SVP ?
Partager