HTML对象坐标

时间:2013-10-02 21:24:01

标签: perl button mechanize

这就是我想用perl mechanize模拟的东西

            <input type="hidden" name="uploadId" value="24753229A1421CB27681A4601B06CF9C">
            <div style="margin-top: 5px; margin-bottom: 4px;"><strong>Select and upload your files</strong> (maximum 200 MB each):</div>
            <input type="file" class="file_upload" id="fupload" size="118" name="file_0">
            <div style="margin-top: 1px; margin-bottom: 15px;"><a href="http://www.zippyshare.com" class="PPToS" style="font-weight: normal; text-decoration: underline;">New Flash Uploader</a></div>
            <div id="files" style="position: relative; right:0px; top:0px; text-align: right;">

我没有模拟的问题,但提交按钮有点棘手,

<input onclick="return start();" type="image" src="/images/upload_small.png" align="middle" style="margin-top: 8px; border: 0;">

它是一个图像,我想我可以使用机械化x,y按钮坐标来模拟它,但我不知道如何在html中找到对象的坐标,还是有任何可能的选择?

0 个答案:

没有答案