You are here

BrowserFileTrait.php in Zircon Profile 8.0

Same filename and directory in other branches
  1. 8 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserFileTrait.php

File

vendor/jcalderonzumba/gastonjs/src/Browser/BrowserFileTrait.php
View 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);
  }

}

Traits

Namesort descending Description
BrowserFileTrait Trait BrowserFileTrait @package Zumba\GastonJS\Browser