browser.php
public function clickImageById($id, $x = 1, $y = 1, $additional = false)
    {
        if (! ($form = $this->page->getFormByImage(new SelectById($id)))) {
            return false;
        }
        $success = $this->load(
                $form->getAction(),
                $form->submitImage(new SelectById($id), $x, $y, $additional));

        return ($success ? $this->getContent() : $success);
    }
public function clickImageById($id, $x = 1, $y = 1, $additional = false)
    {
        if (! ($form = $this->page->getFormByImage(new SelectById($id)))) {
            return false;
        }
        $success = $this->load(
                $form->getAction(),
                $form->submitImage(new SelectById($id), $x, $y, $additional));

        return ($success ? $this->getContent() : $success);
    }
Clicks the submit image by ID attribute.
The owning form will be submitted by this.
Clicking outside of the boundary of the coordinates will result in a failure.

@param integer/string $id    ID attribute of button.
@param int $x            X-coordinate of imaginary click.
@param int $y            Y-coordinate of imaginary click.
@param hash $additional      Additional form data.

@return string/boolean       Page on success.