SimpleTest PHP Scriptable Web浏览器不适用于输入类型的电子邮件

I am trying to use the PHP Scriptable Web Browser from simplest.org to automatically fill-in a form on a website.

The email field in the form is set to:

<input id="mail1" type="email" name="mail1">

etc.

If I try to fill in this email-field with:

$browser->setField('mail1', 'test@mail.com');

Nothing happens !!! (the filed stays blank, no problems with other fields where the type="text").

Is there a workaround for this "new" email field so I can still use the PHP Scriptable Web Browser?

I really would like to auto-fill in a form and submit it using PHP.

I actually solved it by using CURL in PHP. There are some very good and interesting video's about that on YouTube.

Thnx all!!