how to get outerHTML of this element? Web scrap

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
bobnoob
Posts: 7
Joined: 24 Jul 2017, 18:04

how to get outerHTML of this element? Web scrap

27 Jul 2017, 10:22

This is what is in the front UI


and this is the element properties using iWB2 learner

Image



and this is when you inspect element using chrome

Image



I am hoping I can get the outerHTML. But I tried GetElementsByName array with no luck
Var:=pwb.document.GetElementsByName("A")[56].Value



please advise ... thank you
Last edited by bobnoob on 02 Aug 2017, 14:15, edited 1 time in total.
User avatar
tank
Posts: 3122
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: how to get outerHTML of this element? Web scrap

27 Jul 2017, 11:16

the index is of all elements not just the a tag pwd.document.all[56].outerHTML
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Joey5, RandomBoy and 396 guests