Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting table from JavaScript
#2
Need d.SetOptions(2).

Macro Macro2767
Code:
Copy      Help
out
HtmlDoc d
d.SetOptions(2)
;g1
d.InitFromWeb("https://datatables.net/examples/data_sources/js_array.html")

rep 10 ;;wait for the javascript to finish
,1
,str s=d.GetHtml("table" "example")
,if(s.len) break
,out "waiting"
if(!s.len)
,out "RETRY"
,goto g1

out s


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)