in reply to Re^2: Selenium::Firefox: problem finding a child_element
in thread Selenium::Firefox: problem finding a child_element
Glad to see one of my suggestions led to a solution. :-)
As to your additional questions, I'm unfortunately strapped for time (due to airlines still unwilling to tailor their flight plans to my personal needs). Here's some hurried (and untested) suggestions.
From the Abbreviated Syntax link I provided above, see
It looks like you need li[2] (note these indices are 1-based - as opposed to 0-based array indices).
Possibly answers "how does one print an element?".
A recent post I made (Re^2: Trouble capturing multiple groupings in regex) has some additional XPath examples. In particular, see the "more involved for loop" (in the spoiler) for printing an entire element.
— Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Selenium::Firefox: problem finding a child_element
by samberman (Novice) on Dec 22, 2015 at 19:16 UTC | |
by Anonymous Monk on Dec 22, 2015 at 21:33 UTC |