Created
February 19, 2013 14:06
-
-
Save lfryc/4986201 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Firefox @Drone WebDriver element; | |
@Page SomePage page; | |
---------- | |
@Location(page=SomePage.class) | |
public class FuncTest extends AbstractTest { | |
@Page @Browser1 SomePage page1; | |
@Page @Browser2 AnotherPage page2; | |
interface GrapheneDriver extends WebDriver; | |
@Location(page=SomePage.class) | |
@UseContainer( | |
@Test | |
public test() { | |
driver.get(contextPath); | |
graphene.(SomePage.class); | |
graphene2.waitModel() | |
graphene2.waitModel(). | |
Graphene.use(Browser1.class); | |
guardXhr(); | |
browser1.perform( | |
Graphene.switchTo().browser(Browser1.class); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment