All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.jstestdriver.browser.BrowserCaptureEvent Maven / Gradle / Ivy

Go to download

The goal of JsTestDriver is to build a JavaScript test runner which: easily integrates with continuous builds systems and allows running tests on multiple browsers quickly to ease TDD style development.

The newest version!
package com.google.jstestdriver.browser;

import com.google.jstestdriver.CapturedBrowsers;
import com.google.jstestdriver.SlaveBrowser;

/**
 * An event when a browser becomes captured or is no longer captured.
 * Observers of the {@link CapturedBrowsers} will recieve this event.
 *  
 * @author [email protected] (Alex Eagle)
*/
public class BrowserCaptureEvent {
  public enum Event { CONNECTED, DISCONNECTED }
  public final Event event;
  private final SlaveBrowser browser;

  public BrowserCaptureEvent(Event event, SlaveBrowser browser) {
    this.event = event;
    this.browser = browser;
  }

  public SlaveBrowser getBrowser() {
    return browser;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy