View Single Post
 
Old 05-20-2024, 06:08 AM
Rasec Rasec is offline Windows 10 Office 2021
Novice
 
Join Date: May 2024
Posts: 3
Rasec is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
I'm not sure what you are asking on the levels question but this variation returns the values you found along the way so you can derive the subsequent URLs. I suspect getting an empty string back will answer your levels question.
Thanks for your help, it works in a better way. My issue with the levels is:

What I mean by levels is, if you see this test is againts city "Huntsville", that have 4 locations and to get the class of the "adress", is needed to drilldown until 4th level.

Level1=State=Alabama,
level2=city=Hunstville,
level3=locations=11375 South Memorial Pkwy (in this case the anchor is an address but is a link)
level4=addess=11375 South Memorial Pkwy (the actual address that is not a link <a></a>, but a text)

Now if we select Albertville instead of Huntsville, we can see that only have one location and is needed to click only 3 times to reach the address. Click in state alabama(level1), click in city Albertville (level2) and takes us directly to the same window that happens in 4th level when city is Huntsville, only 3 levels exist (1,2 and 4).

Then, how to get the classname when my input is a city that only has one location (3 levels)? (handle both cases, 3 and 4 levels)

And how to get the classname of the 4th level (url4)? since is not printing anything because is not a link, is text.

Thanks again
Reply With Quote