{"action":"created","issue":{"url":"https://api.github.com/repos/elvetemedve/behat-screenshot/issues/47","repository_url":"https://api.github.com/repos/elvetemedve/behat-screenshot","labels_url":"https://api.github.com/repos/elvetemedve/behat-screenshot/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/elvetemedve/behat-screenshot/issues/47/comments","events_url":"https://api.github.com/repos/elvetemedve/behat-screenshot/issues/47/events","html_url":"https://github.com/elvetemedve/behat-screenshot/issues/47","id":392966533,"node_id":"MDU6SXNzdWUzOTI5NjY1MzM=","number":47,"title":"Screenshot only works on javascript scenarios?","user":{"login":"golddragon007","id":8385152,"node_id":"MDQ6VXNlcjgzODUxNTI=","avatar_url":"https://avatars2.githubusercontent.com/u/8385152?v=4","gravatar_id":"","url":"https://api.github.com/users/golddragon007","html_url":"https://github.com/golddragon007","followers_url":"https://api.github.com/users/golddragon007/followers","following_url":"https://api.github.com/users/golddragon007/following{/other_user}","gists_url":"https://api.github.com/users/golddragon007/gists{/gist_id}","starred_url":"https://api.github.com/users/golddragon007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golddragon007/subscriptions","organizations_url":"https://api.github.com/users/golddragon007/orgs","repos_url":"https://api.github.com/users/golddragon007/repos","events_url":"https://api.github.com/users/golddragon007/events{/privacy}","received_events_url":"https://api.github.com/users/golddragon007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-12-20T09:50:21Z","updated_at":"2018-12-20T13:02:42Z","closed_at":null,"author_association":"NONE","body":"I have this settings:\r\n```\r\n  extensions:\r\n    Behat\\MinkExtension:\r\n      browser_name: 'chrome'\r\n      goutte: ~\r\n      selenium2:\r\n        wd_host: 'http://localhost:4444/wd/hub'\r\n        browser: 'chrome'\r\n        capabilities:\r\n          browser: 'chrome'\r\n          chrome:\r\n            switches:\r\n            - \"--headless\"\r\n            - \"--disable-gpu\"\r\n      javascript_session: 'selenium2'\r\n      base-url: 'http://localhost:8080/my-site'\r\n      files_path: '/home/user/environment/my-site'\r\n    Drupal\\DrupalExtension:\r\n      api_driver: 'drupal'\r\n      blackbox: ~\r\n      drupal:\r\n        drupal_root: '/home/user/environment/my-site'\r\n      selectors:\r\n        message_selector: '.messages'\r\n        error_message_selector: '.messages.error'\r\n        success_message_selector: '.messages.status'\r\n      subcontexts:\r\n        paths:\r\n        - '/home/user/environment/my-site/sites/default'\r\n      drush:\r\n        alias: 'default'\r\n        binary: '/home/user/environment/my-site/vendor/package/toolkit/bin/drush'\r\n      region_map:\r\n        header: \"#layout-header\"\r\n        featured: \".region-featured-wrapper\"\r\n        content_top: \".content-top\"\r\n        content: \"#content-wrapper\"\r\n        left sidebar: \"#sidebar-left\"\r\n        right sidebar: \"#sidebar-right\"\r\n        footer: \"#layout-footer\"\r\n    Bex\\Behat\\ScreenshotExtension:\r\n      screenshot_taking_mode: failed_scenarios\r\n      image_drivers:\r\n        local:\r\n          screenshot_directory: '/home/user/environment/my-site/tests/screenshots'\r\n          clear_screenshot_directory: true\r\n  formatters:\r\n    pretty: ~\r\n```\r\n\r\nAnd I noticed it only creates screenshots from the failed scenarios if the scenario is annotated as a javascript scenario. It's not possible to create screenshot if it's not annotated like that? And some why on the screenshot I can see only the text without css... But form the browser it works..."},"comment":{"url":"https://api.github.com/repos/elvetemedve/behat-screenshot/issues/comments/448992306","html_url":"https://github.com/elvetemedve/behat-screenshot/issues/47#issuecomment-448992306","issue_url":"https://api.github.com/repos/elvetemedve/behat-screenshot/issues/47","id":448992306,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODk5MjMwNg==","user":{"login":"golddragon007","id":8385152,"node_id":"MDQ6VXNlcjgzODUxNTI=","avatar_url":"https://avatars2.githubusercontent.com/u/8385152?v=4","gravatar_id":"","url":"https://api.github.com/users/golddragon007","html_url":"https://github.com/golddragon007","followers_url":"https://api.github.com/users/golddragon007/followers","following_url":"https://api.github.com/users/golddragon007/following{/other_user}","gists_url":"https://api.github.com/users/golddragon007/gists{/gist_id}","starred_url":"https://api.github.com/users/golddragon007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golddragon007/subscriptions","organizations_url":"https://api.github.com/users/golddragon007/orgs","repos_url":"https://api.github.com/users/golddragon007/repos","events_url":"https://api.github.com/users/golddragon007/events{/privacy}","received_events_url":"https://api.github.com/users/golddragon007/received_events","type":"User","site_admin":false},"created_at":"2018-12-20T13:02:42Z","updated_at":"2018-12-20T13:02:42Z","author_association":"NONE","body":"Probably yes, I don't know too much from these options."}}
{"actor":{"display_login":"golddragon007"}}