Documentation [ci skip]

This commit is contained in:
Thomas Walpole 2018-07-12 09:26:51 -07:00
parent ced7ab4bd6
commit 0201bba276
1 changed files with 3 additions and 1 deletions

View File

@ -205,7 +205,9 @@ module Capybara
##
#
# Find a file field on the page and attach a file given its path. The file field can
# be found via its name, id or label text.
# be found via its name, id or label text. In the case of the file field being hidden for
# styling reasons the `make_visible` option can be used to temporarily change the CSS of
# the file field, attach the file, and then revert the CSS back to original.
#
# page.attach_file(locator, '/path/to/file.png')
#