Package net.mindengine.galen.components

Examples of net.mindengine.galen.components.DummyDriver


    public void shouldProvide_webDriver_withJsFactory() {
        JsBrowserFactory browserFactory = new JsBrowserFactory(getClass().getResource("/browser/js-driver-init.js").getFile(), new String[]{"http://example.com", "640x480"});
       
        SeleniumBrowser browser = (SeleniumBrowser)browserFactory.openBrowser();
       
        DummyDriver driver = (DummyDriver)browser.getDriver();
       
        Assert.assertEquals("http://example.com", driver.getCurrentUrl());
    }
View Full Code Here

TOP

Related Classes of net.mindengine.galen.components.DummyDriver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.