@Test public void testOpen() throws IOException { setWebDriverFactory(WebDriverManager.HTMLUNIT, new DriverOptions()); Runner runner = new Runner(); runner.setDriver(manager.get()); CommandFactory cf = runner.getCommandFactory(); File selenesefile = File.createTempFile("selenese", ".html"); TestCase testCase = Binder.newTestCase(SourceType.SELENESE, selenesefile.getPath(), "test", "http: testCase.addCommand(cf, "open", wsr.getBaseURL()); testCase.addCommand(cf, "pause", "1000"); runner.execute(testCase); assertThat(runner.getWrappedDriver().getCurrentUrl(), is(wsr.getBaseURL())); }
Open(int index, String name, String... args) { super(index, name, args, VALUE); }
Open extends AbstractCommand { Open(int index, String name, String... args) { super(index, name, args, VALUE); } }
Open extends AbstractCommand { Open(int index, String name, String... args) { super(index, name, args, VALUE); } Open(int index, String name, String... args); }
Open extends AbstractCommand { Open(int index, String name, String... args) { super(index, name, args, VALUE); } Open(int index, String name, String... args);  }
Open extends AbstractCommand { Open(int index, String name, String... args) { super(index, name, args, VALUE); } Open(int index, String name, String... args);   }