title: Java / Selenium application - how do I get the session id of the application under test?
body: <p>I am working with Java and Selenium, and trying to get the session id of the application under test after it has logged in. I found this bit of code, but it gives me the session id of the driver. This is no use to me. I want the session of the app I am running.</p>
  
  <pre><code>SessionId sessionId = ((FirefoxDriver) driver).getSessionId();
  </code></pre>