Created
January 10, 2012 23:04
-
-
Save creswick/1591773 to your computer and use it in GitHub Desktop.
Selenium.runScript(String) throws exceptions if string contains \r
This file contains 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
public class WebTest { | |
public static void main(String[] args) throws IOException { | |
WebDriver driver = new FirefoxDriver(); | |
Selenium selenium = new WebDriverBackedSelenium(driver, "http://google.com"); | |
selenium.runScript("/* line 1 \r\n line 2 */"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment