Hi All,
This is an another example script written to get the data from Online Web Table. In most of the websites, data is displayed in tabular format. Now, when new row get appended, it became difficult to track the content through ids or values. So, we use xPath and loop for this.
/* Script Summary
1. Set the Base URL to http://www.espncricinfo.com/icc_cricket_worldcup2011/engine/match/473326.html.
2. rowcount() Method will do the following things :
a) Will print the number of rows in data table.
b) Will print the name of `Indian Batting` Line Up.
c) You can use the script to print 1st Inning batting list for any match by simply replacing URL.
*/