A simple getCSSCount for use with Selenium-RC


Warning: preg_replace() [function.preg-replace]: Compilation failed: unknown option bit(s) set at offset 0 in /var/www/wordpress/wp-includes/shortcodes.php on line 227

Warning: preg_replace() [function.preg-replace]: Compilation failed: unknown option bit(s) set at offset 0 in /var/www/wordpress/wp-includes/shortcodes.php on line 227

Warning: preg_replace() [function.preg-replace]: Compilation failed: unknown option bit(s) set at offset 0 in /var/www/wordpress/wp-includes/shortcodes.php on line 227

Warning: preg_replace() [function.preg-replace]: Compilation failed: unknown option bit(s) set at offset 0 in /var/www/wordpress/wp-includes/shortcodes.php on line 227

Original Post by testingReflections.com - The mind-share information resource for software testing, agile testing and test-first/test-driven development

We know that XPath runs slowly in IE, but XPath has the getXPathCount method. And CSS runs quickly but Selenium doesn’t have a corresponding getCSSCount method.I looked around for a simple way of getting count from a CSS selector. I found this blog post by Aditya Ivaturi, but since I like to keep my Selenium [...]

testingReflections.com - The mind-share information resource for software testing, agile testing and test-first/test-driven development original post

Leave a Reply