Closed GoogleCodeExporter closed 8 years ago
More details see thread
http://groups.google.com/group/tellurium-users/browse_thread/thread/8492b6b5eda0
e195
and test TableRowTestCase in tellurium core.
Original comment by John.Jian.Fang@gmail.com
on 3 Nov 2010 at 3:05
The problem is in the getCSSSelector method. The updated one should be
Selenium.prototype.getCssSelectorCount = function(locator) {
!tellurium.logManager.isUseLog || fbLog("GetCssSelectorCount for Locator", locator);
/* if(locator.startsWith("jquery=")){
locator = locator.substring(7);
}else if(locator.startsWith("uimcal=")){
var cal = JSON.parse(locator.substring(7), null);
locator = cal.locator;
}*/
!tellurium.logManager.isUseLog || fbLog("Parsed locator", locator);
var $e = teJQuery(this.browserbot.findElementOrNull(locator));
!tellurium.logManager.isUseLog || fbLog("Found elements for CSS Selector", $e.get());
if ($e == null)
return 0;
return $e.length;
};
Original comment by John.Jian.Fang@gmail.com
on 3 Nov 2010 at 7:06
Original issue reported on code.google.com by
John.Jian.Fang@gmail.com
on 3 Nov 2010 at 3:03