Skip to content

Instantly share code, notes, and snippets.

@dbwest
Created Apr 4, 2014
Embed
What would you like to do?
CURL / Ruby / JIRA /Watir-Webdriver screenshot
@browser.screenshot.save 'my_screenshot.png'
`curl -D- -X POST -H "Authorization: Basic YOUR_USERNAME_AND_PASS_IN_BASE64" -H "X-Atlassian-Token: nocheck" -F "file=@my_screenshot.png" http://jira.mycompany.com/rest/api/2/issue/PROJ-123/attachments`
Copy link

ghost commented Apr 4, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment