1

I'm trying to click on one of the country tabs in this archived site. The mouse_click() method seems to be working but the content is not updated, I've tried clicking many things in this site and nothing works, I've tried everything! Please help.

My code in splash:

function main(splash, args)
splash.private_mode_enabled = false
url = args.url
assert(splash:go(url))
assert(splash:wait(1))
btn = assert(splash:select_all(".filterPanelItem___2z5Gb"))
btn[5]:mouse_click()
assert(splash:wait(5))
splash:set_viewport_full()
return splash:png()
end

I've tried everything listed here. And many other things I don't remember anymore, nothing seems to work.

XStein17
  • 11
  • 2

0 Answers0