Skip to content

Commit

Permalink
Documentation [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Jul 12, 2018
1 parent ced7ab4 commit 0201bba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/capybara/node/actions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,9 @@ def unselect(value = nil, from: nil, **options)
##
#
# 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')
#
Expand Down

0 comments on commit 0201bba

Please sign in to comment.