TagUI tutorial 2 - bookdepository.com - Part 2


In bookdepository_v01, we have grabbed the title of Book List #1.

Now let's grab the title of the first book in this list.

Solution - TagUI Script

// bookdepository_v02
// Get the title of the 1st book in book list #1


read //div[@class="block-wrap  "][1]//h2 to booklist
echo "booklist = " + booklist

read (//div[@class="block-wrap  "][1]//h3)[1] to title
echo "title = " + title


  1. This will return the title of all the book in Book List #1: //div[@class="block-wrap "][1]//h3
    There are a total of 21 books in this list.
  2. We zoom in to the first book: (//div[@class="block-wrap "][1]//h3)[1]

Other TagUI Tutorials

Other Resources

Comments (0)

There are no comments posted here yet

Leave your comments

Posting comment as a guest. Sign up or login to your account.
Attachments (0 / 3)
Share Your Location