{"action":"created","issue":{"url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/426","labels_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/426/labels{/name}","comments_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/426/comments","events_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/426/events","html_url":"https://github.com/rtomac/robotframework-selenium2library/pull/426","id":85924645,"number":426,"title":"Added possibility to combine index and filename args","user":{"login":"aaltat","id":2665023,"avatar_url":"https://avatars.githubusercontent.com/u/2665023?v=3","gravatar_id":"","url":"https://api.github.com/users/aaltat","html_url":"https://github.com/aaltat","followers_url":"https://api.github.com/users/aaltat/followers","following_url":"https://api.github.com/users/aaltat/following{/other_user}","gists_url":"https://api.github.com/users/aaltat/gists{/gist_id}","starred_url":"https://api.github.com/users/aaltat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaltat/subscriptions","organizations_url":"https://api.github.com/users/aaltat/orgs","repos_url":"https://api.github.com/users/aaltat/repos","events_url":"https://api.github.com/users/aaltat/events{/privacy}","received_events_url":"https://api.github.com/users/aaltat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-06-07T18:01:59Z","updated_at":"2015-06-09T22:46:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/pulls/426","html_url":"https://github.com/rtomac/robotframework-selenium2library/pull/426","diff_url":"https://github.com/rtomac/robotframework-selenium2library/pull/426.diff","patch_url":"https://github.com/rtomac/robotframework-selenium2library/pull/426.patch"},"body":"If test are run, to get a custom and unique file name each time screenshot is takes, it would require creating global variable in RF data and making sure that variable in unique for each time screenshot is taken. This is now much easier to do with the index param in the Capture Page Screenshot keyword.\r\n\r\nThis comes quite handy when you using pabot and want to make sure that screenshots do not overlap in names. "},"comment":{"url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/comments/110525775","html_url":"https://github.com/rtomac/robotframework-selenium2library/pull/426#issuecomment-110525775","issue_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/426","id":110525775,"user":{"login":"zephraph","id":3087225,"avatar_url":"https://avatars.githubusercontent.com/u/3087225?v=3","gravatar_id":"","url":"https://api.github.com/users/zephraph","html_url":"https://github.com/zephraph","followers_url":"https://api.github.com/users/zephraph/followers","following_url":"https://api.github.com/users/zephraph/following{/other_user}","gists_url":"https://api.github.com/users/zephraph/gists{/gist_id}","starred_url":"https://api.github.com/users/zephraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zephraph/subscriptions","organizations_url":"https://api.github.com/users/zephraph/orgs","repos_url":"https://api.github.com/users/zephraph/repos","events_url":"https://api.github.com/users/zephraph/events{/privacy}","received_events_url":"https://api.github.com/users/zephraph/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T22:45:59Z","updated_at":"2015-06-09T22:45:59Z","body":"I'm still not 100% satisfied with this, but you're definitely on the right track. I'm going to submit a PR to your branch with what I had in mind. "}}