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

  • SEARCH
  • Home
  • 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 9254969
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:36:19+00:00 2026-06-18T11:36:19+00:00

Please find the Html below : <table class=data id=filteredTable cellpadding=0 cellspacing=1> <tbody> <tr class=rowLight>

  • 0

Please find the Html below :

<table class="data" id="filteredTable" cellpadding="0" cellspacing="1">
<tbody>

<tr class="rowLight">
  <td class="lt4"><input name="ids" value="att1" type="checkbox"></td>
  <td><a hfref= " link1" > foo </a>
  </td>
  <td>item1</td>
  <td>item2</td>
  <td>item3</td>
</tr>

<tr class="rowDark">
  <td class="lt4"><input name="ids" value="att2" type="checkbox"></td>
  <td><a hfref= " link2" > boo </a>
  </td>
  <td>item1</td>
  <td>item2</td>
  <td>item3</td>
</tr>


<tr class="rowLight">
  <td class="lt4"><input name="ids" value="att3" type="checkbox"></td>
  <td><a hfref= " link3" > bar </a>
  </td>
  <td>item1</td>
  <td>item2</td>
  <td>item3</td>
</tr>

Now I need to click on the link of bar. But my below Xpath not helping me to get into the bar as well. So any help how to be done the same.

I didn’t give the html for the part //form[contains(@name,'filterset_FilterSetListForm')]/table[contains(@class,'contentBody')]/tbody/tr/td/table[contains(@class,'content')]/tbody/tr/td/. <~~ till this I am correct. Confusion start after <tr> from here /table[contains(@id,'filteredTable')]/tbody/tr

Part-II:

When there will be a match say bar , can their associated check box (s) be clicked?

Any help in this regard?

I am using selenium -web driver with Ruby 1.9.3 .

  • 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-18T11:36:20+00:00Added an answer on June 18, 2026 at 11:36 am

    You can get the a element this way

    /table[contains(@id,'filteredTable')]/tbody/tr/td/a[contains(text(),'bar')]

    or if you want an exact match to the link text

    /table[contains(@id,'filteredTable')]/tbody/tr/td/a[text()=' bar ']

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

Sidebar

Related Questions

Please find the below html code: <fieldset class=attachmentTable large><legend>SMF&nbsp;:</legend> <table cellspacing=2 cellpadding=2 border=0> <tr>
I am learning ajax. Please find below code, <%@ page language=java contentType=text/html; charset=ISO-8859-1 pageEncoding=ISO-8859-1%>
Below is my HTML <table width=100%> <tr><td><center><b>Browse your XML File below.</b></td></center> </tr> <tr><td><center><input type=file
Please find the below code <?xml version=1.0 encoding=utf-8?> <mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute> <mx:Script> <![CDATA[ [Bindable]
I would like to have a border for the table with class name as
Please find my code below. My problem is that I the inner jQuery.get() doesn't
here is the html <table> <tr> <td class=break>mono</td> </tr> <tr> <td>c1</td> <td>c2</td> <td>c3</td> </tr>
Please see the below code: I am have a table row defined using asp.net
Please find the link below, I have embed the youtube video in header part,
there is an html codes like below : <div class=class1 class2 class3> <div class=class4

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.