afhttp upload subcommand — inject a local file into an <input type=file> using the privileged CDP DOM.setFileInputFiles primitive.
afhttp upload
<input type=file>
DOM.setFileInputFiles