Trouble Finding Correct Element

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
fightcancer
Macro Veteran
Posts: 239
Joined: Fri Apr 15, 2005 8:32 am

Trouble Finding Correct Element

Post by fightcancer » Thu Apr 22, 2021 5:40 pm

I'm hoping someone can help me with my ChromeFindElements> line below. I can't get MS to find/create a valid array.

My goal is to get the text to the right of Legal Description and Mailing Address.

Any help appreciated!

Let>CHROMEDRIVER_EXE=%SCRIPT_DIR%\chromedriver.exe
ChromeStart>session_id
ChromeNavigate>session_id,url,https://ssc.sedgwickcounty.org/property ... n=30012992
ChromeFindElements>session_id,class name,td,res

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1347
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Trouble Finding Correct Element

Post by Dorian (MJT support) » Thu Apr 22, 2021 5:59 pm

I attempted to look but can't access that site.

This post might help you do it with xpath
Yes, we have a Custom Scripting Service. Message me or go here

fightcancer
Macro Veteran
Posts: 239
Joined: Fri Apr 15, 2005 8:32 am

Re: Trouble Finding Correct Element

Post by fightcancer » Thu Apr 22, 2021 6:02 pm

I think I figured it out.
ChromeFindElements>session_id,tagName,tbody,res
ChromeGetElementData>session_id,res_1,text,theText

Then I have to filter the data from "theText."

To access the site, one must navigate to the URL and click "I accept the terms" or somesuch.

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1347
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Trouble Finding Correct Element

Post by Dorian (MJT support) » Thu Apr 22, 2021 6:17 pm

The host wasn't even resolving for me.
Yes, we have a Custom Scripting Service. Message me or go here

fightcancer
Macro Veteran
Posts: 239
Joined: Fri Apr 15, 2005 8:32 am

Re: Trouble Finding Correct Element

Post by fightcancer » Thu Apr 22, 2021 7:02 pm

Weird. I saw a message earlier today about website maintenance. Maybe that's why.

Ty for looking though!

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1347
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Trouble Finding Correct Element

Post by Dorian (MJT support) » Fri Apr 23, 2021 9:47 am

I tried again out of curiosity. It's still inaccessible for me. Maybe they block out-of-area (UK) IPs.
Yes, we have a Custom Scripting Service. Message me or go here

fightcancer
Macro Veteran
Posts: 239
Joined: Fri Apr 15, 2005 8:32 am

Re: Trouble Finding Correct Element

Post by fightcancer » Sat Apr 24, 2021 2:02 am

Good to know! Thanks for sharing that. I didn't realize it was a thing.

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts