mirror of
https://github.com/NaiboWang/EasySpider.git
synced 2025-04-20 22:15:08 +08:00
点击元素out of bound bug修复
This commit is contained in:
parent
1283206518
commit
a7462f758b
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
.temp_to_pub/EasySpider_windows_x64/tasks/128.json
Normal file
1
.temp_to_pub/EasySpider_windows_x64/tasks/128.json
Normal file
File diff suppressed because one or more lines are too long
2
ExecuteStage/.vscode/launch.json
vendored
2
ExecuteStage/.vscode/launch.json
vendored
@ -12,7 +12,7 @@
|
|||||||
"justMyCode": false,
|
"justMyCode": false,
|
||||||
// "args": ["--id", "[7]", "--read_type", "remote", "--headless", "0"]
|
// "args": ["--id", "[7]", "--read_type", "remote", "--headless", "0"]
|
||||||
// "args": ["--id", "[9]", "--read_type", "remote", "--headless", "0", "--saved_file_name", "YOUTUBE"]
|
// "args": ["--id", "[9]", "--read_type", "remote", "--headless", "0", "--saved_file_name", "YOUTUBE"]
|
||||||
"args": ["--id", "[81]", "--headless", "0", "--user_data", "1", "--keyboard", "0"]
|
"args": ["--id", "[9]", "--headless", "0", "--user_data", "1", "--keyboard", "0"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -1225,6 +1225,9 @@ class BrowserThread(Thread):
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
print("点击元素失败:" + path, ",请尝试将点击类型改为JavaScript点击后重试。")
|
||||||
|
print("Failed to click element:" + path, ", please try to change the click type to JavaScript Click.")
|
||||||
|
print(e)
|
||||||
self.Log(e)
|
self.Log(e)
|
||||||
self.recordLog(str(e))
|
self.recordLog(str(e))
|
||||||
# 点击后对该元素执行一段JavaScript代码
|
# 点击后对该元素执行一段JavaScript代码
|
||||||
|
Loading…
x
Reference in New Issue
Block a user