title: Protractor: Can only enable virtual time for pages, not workers
body: <p>In my angular app, I have outsourced some of the heavy logic to a Web Worker.
  After running the e2e tests using protractor in Chrome Headless, I get the error below on every action protractor is making. Note that the e2e results are still good. Only this annoying error log.</p>
  
  <pre><code>[1003/234747.472:ERROR:inspector_emulation_agent.cc(537)] Can only enable virtual time for pages, not workers
  </code></pre>
  
  <p>Someone already seen this?</p>
  
  <p>The error it self is coming from Chromium</p>
  
  <pre><code>Response InspectorEmulationAgent::AssertPage() {
    if (!web_local_frame_) {
      LOG(ERROR) &lt;&lt; "Can only enable virtual time for pages, not workers";
      return Response::InvalidParams(
        "Can only enable virtual time for pages, not workers");
    }
    return Response::OK();
  }
  </code></pre>
  
  <p><a href="https://chromium.googlesource.com/chromium/src/third_party/+/master/blink/renderer/core/inspector/inspector_emulation_agent.cc" rel="nofollow noreferrer">https://chromium.googlesource.com/chromium/src/third_party/+/master/blink/renderer/core/inspector/inspector_emulation_agent.cc</a></p>