+

Search Tips   |   Advanced Search


Advanced usage

The Java proxy also allows us to set a custom name of the next Entry that will be sent to the Data Exchange server.

Additionally there is a method to retrieve the regular expression being used to create the path when the nl.path.naming.policy argument is set to URL.

The example below illustrates these advanced uses:

NLWebDriver driver = WebDriverProxy.newInstance(new FirefoxDriver());
driver.setCustomName("custom entry name");
System.out.println("Escaped regular expression: " + driver.getRegexToCleanURLs());


Home