Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9154287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:24:15+00:00 2026-06-17T12:24:15+00:00

I have a webpage, and when I view the source I get the following:

  • 0

I have a webpage, and when I view the source I get the following:

<td>
  <a href="www.example.com">Ryhanu Datta</a>
</td>

<td> daffodil</td>
<td> b2/24 </td> 

How can I read the <td> values of a table on a webpage using selenium-webdriver in Ruby?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T12:24:17+00:00Added an answer on June 17, 2026 at 12:24 pm

    The information that goes between and is known as the table data. Here is a more fleshed out table, and the meanings:

     <table>
       <tr>
         <th>Table header for column 1</th>
         <th>Table header for column 2</th>
         <th>Table header for column 3</th>
       </tr>
       <tr>
         <td>data in row 1, column 1</td>
         <td>data in row 1, column 2</td>
         <td>data in row 1, column 3</td>
       </tr>
       <tr>
         <td>data in row 2, column 1</td>
         <td>data in row 2, column 2</td>
         <td>data in row 2, column 3</td>
       </tr>
       <tr>
         <td>data in row 3, column 1</td>
         <td>data in row 3, column 2</td>
         <td>data in row 3, column 3</td>
       </tr>
    </table>
    

    So you have the pair of tags for the table itself .. , then the pair for the header or title … , and the pair of tags for each row … , and finally, the tag you are asking about is where the table data goes: … . It is really very simple.

    Sorry about the half post. I was having some finger trouble, and my old mac was not cooperating either. CHEERS!

    I’ve added this. It doesn’t format really well in the comment. So you need the following code to load the page (assuming google.ca, for example), and then to find the tag:

    driver.get "http://www.google.ca"
    table_data = driver.find_element(:tag_name, "td")
    

    Again, I worked out how to do this from here.

    CHEERS. (I hope I understood you properly this time).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to write a regular expression to parse this webpage(view-source:http://www.imdb.com/search/title?title=spiderman&title_type=feature). Basically I want
I have a webpage that redirects to another webpage like this: http://www.myOtherServer.com/Sponsor.php?RedirectPage=http://mylink.com/whereIwasgoingtogo.html Then the
Webpage is - http://schnell.dreamhosters.com/spriteanimate.html Just go to the page and 'View Source' and you'll
Is there a way to restrict access to a specific webpage such as http://www.example.com/subpage
I have a webpage including the following div: <div class='book_box'> <table border=0 cellspacing=0> <tr>
I'm trying to download www.pandora.com/profile/stations/olin_d_kirkland HTML with Java to match what I get when
I have this page: http://www.comehike.com/outdoors/birds/birds.php The left side (on the middle) has a list
I have a webpage that I would like to view when I am not
I have a webpage with a separate stylesheet for print. When I view the
I have a webpage that displays a table the user can edit. After the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.