Skip to content

Instantly share code, notes, and snippets.

@carnal0wnage
Created February 27, 2016 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carnal0wnage/b6fd24a19697e58bde96 to your computer and use it in GitHub Desktop.
Save carnal0wnage/b6fd24a19697e58bde96 to your computer and use it in GitHub Desktop.
run the screenshot command against all active sessions
<ruby>
framework.sessions.each do |session|
session.run_cmd("screenshot")
end
</ruby>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment