返回提交历史
Modified
g4f/requests/cdp.py
+1
-1
XFEstudio/gpt4free
Update cdp.py
5bcec783
代码差异
1 个文件
+1
-1
@@ -676,7 +676,7 @@ class CDPSession:
676
676
const buttons = document.querySelectorAll('button, input[type="submit"]');
677
677
for (let button of buttons) {
678
678
const text = button.textContent.trim();
679
if (text === 'Accept' || text === 'Einwilligen' || text === 'Alle akzeptieren') {
679
if (text === 'Accept' || text == 'Accept all' || text === 'Einwilligen' || text === 'Alle akzeptieren') {
680
680
const rect = button.getBoundingClientRect();
681
681
return {
682
682
x: rect.left + window.scrollX,