Share
Go down
roey_r
Posts : 2
Join date : 2013-07-04

executeScript command in Selenium

on Thu Jul 04, 2013 4:29 pm
Hi 
I want to count how many rows i have in a table
I know how to do it in JS but i dont know how to execute it in Selenium (with executeScript)
The JS command is ".content-table-content tbody .content-table-row').length"
ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 32
Location : Denver, CO

Re: executeScript command in Selenium

on Fri Jul 05, 2013 9:07 pm
Use the storeXpathCount command.  That can tell you how many rows exist
Back to top
Permissions in this forum:
You cannot reply to topics in this forum