function main(splash, args)
assert(splash:go(args.url))
assert(splash:wait(0.5))
--设置滚动条位置
splash.scroll_position = {x=0, y=1000}
--splash.scroll_position = {0, 1000}
--splash.scroll_position = {y=1000}
return {
html = splash:html(),
png = splash:png(),
har = splash:har(),
}
end
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/200116.html原文链接:https://javaforall.net
