<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add a WebKit SPI for creating an automation session and advertise the active session via RemoteInspector"
   href="https://bugs.webkit.org/show_bug.cgi?id=153934">153934</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Add a WebKit SPI for creating an automation session and advertise the active session via RemoteInspector
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebKit2
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bburg&#64;apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>andersca&#64;apple.com, joepeck&#64;webkit.org, mitz&#64;webkit.org, thorton&#64;apple.com, timothy&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>An automation session is the main place where WebKit-side support for browser automation should be implemented. A session encapsulates the state (default timeouts, page identifier mappings), objects (active automation WebPages) and logic (how to open a window, run JS, send user input, etc) used to implement automation commands. A process pool can only have one session at a time. The session is created on demand and only if the _WKAutomationDelegate implementation allows it.

I'm currently focusing on *remote* automation, over the RemoteInspector/webinspectord relay system. This is needed in WK2 since its clients cannot directly talk to RemoteInspector in JavaScriptCore.framework.

The session has a delegate so that WK2 clients can perform actions that are outside the scope of WK2, such as creating new tabs, enumerating windows, or sending native user inputs.

Patch forthcoming.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>