<form method="post" action="file.html" enctype="multipart/form-data">
<table> <tbody>
<tr><td>Your file:</td></tr> <tr><td><input name="userfile_4f8ebfdc5577c" value="" size="50" type="file"></td></tr> <tr><td><input name="Send" value="transmit file" type="submit"></td></tr> </tbody>
</table> </form>
> --
> CasperJS homepage & documentation: http://n1k0.github.com/casperjs
> CasperJS @github: https://github.com/n1k0/casperjs
>
> Vous avez reçu ce message, car vous êtes abonné au groupe
> Groupe "CasperJS" de Google Groupes.
> Pour transmettre des messages à ce groupe, envoyez un e-mail à
> l'adresse casp...@googlegroups.com
> Pour résilier votre abonnement à ce groupe, envoyez un e-mail à
> l'adresse casperjs+u...@googlegroups.com
> Pour afficher d'autres options, visitez ce groupe à l'adresse
> http://groups.google.com/group/casperjs?hl=fr?hl=fr
--
Nicolas Perriault
https://nicolas.perriault.net/ — http://www.akei.com/
Skype: nperriault
Phone: +33 (0) 660 92 08 67
Hello Nicolas,
unfortunately the name of the file field is never the same. It is always generated newly in each form. I fear I cannot use the "fill" command?
Harald
Oh, I forgot the red line with the uploadFile command:
casper.start('http://abc.com/myfile.html', function() {