Laravel - Browser Tests - Attaching Files
attach method may be used to attach a file to a
file input element. Like many other input related methods, a full CSS selector is not required. If a CSS selector match can't be found, Dusk will search for a
file input with a matching
The attach function requires the
ZipPHP extension to be installed and enabled on your server.