Unable to create new remote session. desired capabilities = Capabilities {browserName: Ranorex, rx:app: calc, rx:force: true, rx:whitelist: [Calculator]}
Steps to reproduce
Ranorex driver version = 10.2.2 ( port 7993 )
Chrome WebDriver Version = 3.141.59
Code
Code: Select all
@Test
public void test2()throws Exception{
final DesiredCapabilities extraCaps = new DesiredCapabilities();
extraCaps.setCapability(RanorexCapabilities.RX_APP, "calc");
extraCaps.setBrowserName("Ranorex");
extraCaps.setCapability("rx:force", true);
extraCaps.setCapability(RanorexCapabilities.RX_WHITELIST, ImmutableList.of("calculator","calc"));
RemoteWebDriver driver = new RemoteWebDriver(new URL("http://127.0.0.1:7993"), extraCaps);
}
Findings
the same code works again ranorex 9 and we realized there is some differences in the response from the driver
Version 10.2.2
Code: Select all
{sessionId=9feab1b2cdf8476aa16fa391922437d4, value={platform=Windows NT, browserName=Ranorex, sessionId=9feab1b2cdf8476aa16fa391922437d4}}
Code: Select all
{sessionId=fb8b92432fca457e99f14548a7523c12, value={capabilities={browserName=Ranorex, browserVersion=9.3.0+git.44aa845f, platformName=Windows NT, rx:app=calc, rx:workdir=null, rx:whitelist=[Calculator], rx:force=true}, sessionId=fb8b92432fca457e99f14548a7523c12}}