I need to check / make sure that the text "( carrier specific )" exists and is in the right place.
I do
try: self.assertEqual("(carrier specific)", sel.get_table("//form/fieldset[4]/table.2.1")) but he does not want to "pick up" this text (refers to the empty field of National prefix , but not to the text immediately after it). I need to somehow determine the location of this text on the page, i.e. access this element via xpath / css.
<fieldset class="group"> <fieldset class="group"> <fieldset class="group"> <fieldset class="group"> <legend>Dialing Location</legend> <table> <tbody> <tr title="The country code."> <tr title="The area code."> <tr title="The national trunk prefix."> <td>National Prefix</td> <td> <input maxlength="256" size="10" value="" name="dl-ntp"> (carrier specific) </td> </tr> 

python? And so, you probably will helpnext-siblingor something like that. And it is better to add that table to the question as text (you can leave the picture) - gil9redправитьbutton - gil9red