view vendor/jcalderonzumba/gastonjs/src/Browser/BrowserFileTrait.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
line wrap: on
line source
<?php

namespace Zumba\GastonJS\Browser;

/**
 * Trait BrowserFileTrait
 * @package Zumba\GastonJS\Browser
 */
trait BrowserFileTrait {
  /**
   * Selects a file to send to the browser to a given page
   * @param $pageId
   * @param $elementId
   * @param $value
   * @return mixed
   */
  public function selectFile($pageId, $elementId, $value) {
    return $this->command('select_file', $pageId, $elementId, $value);
  }
}