1 19 20 package org.apache.geronimo.testsupport; 21 22 import com.thoughtworks.selenium.Selenium; 23 import com.thoughtworks.selenium.DefaultSelenium; 24 25 import org.openqa.selenium.server.SeleniumServer; 26 27 32 public class ExtendedSelenium 33 extends DefaultSelenium 34 { 35 public ExtendedSelenium(final String serverHost, final int serverPort, final String browserStartCommand, final String browserURL) { 36 super(serverHost, serverPort, browserStartCommand, browserURL); 37 } 38 39 48 public void removeCookie(final String name, final String path) { 49 this.getEval("selenium.removeCookie('" + name + "', '" + path + "')"); 50 } 51 } 52 | Popular Tags |