Skip to content

Instantly share code, notes, and snippets.

@lfryc
Created February 23, 2012 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lfryc/1892612 to your computer and use it in GitHub Desktop.
Save lfryc/1892612 to your computer and use it in GitHub Desktop.
Arquillian/GWT client API snippet
@RunWith(Arquillian.class)
public void TestCase {
@Deployment
...
@Drone
WebDriver driver;
@Test @RunAsClient
public void use_Selenium_and_GWT_dev_mode_to_test_WebStorage() {
driver.click(...);
assertTrue(0, getWebStorageEntries());
}
@GWTClient
public List<WebStorageEntry> getWebStorageEntries() {
WebStorage.xyz();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment