Bug fix for scroll down

This commit is contained in:
naibo 2023-08-08 11:41:09 +08:00
parent e912c78b6a
commit 8c7fc02cef

View File

@ -416,6 +416,10 @@ class BrowserThread(Thread):
except: except:
pass pass
scrollType = int(para["scrollType"]) scrollType = int(para["scrollType"])
try:
para["scrollCount"] = int(para["scrollCount"])
except:
para["scrollCount"] = 1
try: try:
if scrollType != 0 and para["scrollCount"] > 0: # 控制屏幕向下滚动 if scrollType != 0 and para["scrollCount"] > 0: # 控制屏幕向下滚动
if scrollType == 1 or scrollType == 2: if scrollType == 1 or scrollType == 2: