Hi, I'd love some help converting this code to the python equivalent:

private int getCSSCount(String aCSSLocator){
    String jsScript = "var cssMatches = eval_css(\"%s\",
window.document);cssMatches.length;";
    return Integer.parseInt(selenium.getEval(String.format(jsScript,
aCSSLocator)));
}

http://www.eviltester.com/index.php/2010/03/13/a-simple-getcsscount-helper-method-for-use-with-selenium-rc/

Thanks for the help
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to