Converting getCSS Count Code from java to python

SMERSH009 smersh009x at
Tue Feb 1 05:23:34 CET 2011

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\",
    return Integer.parseInt(selenium.getEval(String.format(jsScript,

Thanks for the help

More information about the Python-list mailing list