Link

Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output

The Automation scripts fail to run on the latest Firefox version 38.0.5.

The error is “Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output”

Resolving the issue:

Update the selenium jar file to selenium-server-standalone-2.46.0.jar. The new version of firefox 38.0.5 is not supporting old jars of selenium.

Download both Selenium Server, Selenium Client & WebDriver Language Bindings

Download the latest selenium jar file from http://docs.seleniumhq.org/download/

Webdriver command to get the Cytoscape Node Type item count

Node Type – like Person or Location node

public int cyfetchChartNodeTypeCount(String label) {
label = StringUtils.abbreviate(label, 24);
JavascriptExecutor js = (JavascriptExecutor) getWebDriver();
Long itemCount =

(Long) js.executeScript("return (cy.nodes('[entityType @*=\"" + label + "\"]').length)");
return itemCount.intValue();
}