Advanced usage

setCustomName

This method will set a custom name of the next Entry that will be sent to the Data Exchange server.

driver.SetCustomName("custom entry name");

The wrapper 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 = NLWebDriverFactory.NewNLWebDriver(webDriver);
driver.SetCustomName("custom entry name");
Console.WriteLine("Escaped regular expression: " + driver.GetRegexToCleanURLs());