chooseFile

Given a selector corresponding to an <input type=file>, will upload the local file to the browser machine and fill the form accordingly. It does not submit the form for you.

Usage

1
client.chooseFile(selector,localPath).then(callback);

Parameters

Param Type Details
selector String input element
localPath String local path to file to be uploaded

Uses