+

Search Tips   |   Advanced Search


Methods of the Selenium wrapper

Method

Description

Example

NLWebDriver(Selenium webdriver,Name of the NeoLoad User Path, path to the NL project);

NLWebDriver is the constructor of the NeoLoad webdriver.

This constructor allows you to specify the project that is to be updated with the new/updated User Path.

final FirefoxDriver webDriver = new FirefoxDriver(addProxyCapabilitiesIfNecessary(new DesiredCapabilities()));
// projectPath used to open NeoLoad project, null to use the currently opened Project.
final String projectPath = "C:\\Users\\apaul\\projects\\Sample_Project.nlp";
NLWebDriver driver = NLWebDriverFactory.newNLWebDriver(webDriver, "SeleniumUserPath", projectPath);

NLWebDriver(Selenium webdriver,Name of the NeoLoad User Path);

Project path is optional.

If the project is not specified, the wrapper will use the currently opened project.

final FirefoxDriver webDriver = new FirefoxDriver(addProxyCapabilitiesIfNecessary(new DesiredCapabilities()));
 
NLWebDriver driver = NLWebDriverFactory.newNLWebDriver(webDriver, "SeleniumUserPath");

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");


Home