
com.google.jstestdriver.browser.BrowserCaptureEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jstestdriver Show documentation
Show all versions of jstestdriver Show documentation
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