This repository has been archived on 2025-01-19. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
drupalcampbristol/web/vendor/jcalderonzumba/gastonjs/src/Browser/BrowserFileTrait.php
2017-02-13 15:31:17 +00:00

20 lines
425 B
PHP

<?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);
}
}