mirrored a minute ago
0
TimothyxxxFix bugs in chrome example 3f19cc5
{
  "id": "9656a811-9b5b-4ddf-99c7-5117bcef0626",
  "snapshot": "chrome",
  "instruction": "I want Chrome to warn me whenever I visit a potentially harmful or unsafe website. Can you enable this safety feature?",
  "source": "https://www.quora.com/How-do-I-set-the-security-settings-for-the-Google-Chrome-browser-for-the-best-security#:~:text=Enable%20Safe%20Browsing:%20Chrome%20has%20a%20built%2Din,Security%20%3E%20Security%20%3E%20Enable%20Safe%20Browsing.",
  "config": [
    {
      "type": "launch",
      "parameters": {
        "command": [
          "google-chrome",
          "--remote-debugging-port=1337"
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "socat",
          "tcp-listen:9222,fork",
          "tcp:localhost:1337"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "chrome"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "execute",
        "parameters": {
          "command": "pkill chrome",
          "shell": "true"
        }
      }
    ],
    "func": "exact_match",
    "result": {
      "type": "enable_enhanced_safety_browsing"
    },
    "expected": {
      "type": "rule",
      "rules": {
        "expected": "true"
      }
    }
  }
}