返回提交历史
Modified
g4f/requests/cdp.py
+1
-1
XFEstudio/gpt4free
Update cdp.py
8203b0b6
代码差异
1 个文件
+1
-1
@@ -675,7 +675,7 @@ class CDPSession:
675
675
"""Find and click an 'Accept' or 'Einwilligen' button, including inside iframes."""
676
676
js_code = """
677
677
(() => {
678
const targetTexts = ['Accept', 'Accept all', 'Einwilligen', 'Alle akzeptieren', 'Zustimmen und weiter'];
678
const targetTexts = ['Accept', 'Accept all', 'Accept All', 'Einwilligen', 'Alle akzeptieren', 'Zustimmen und weiter', 'Zustimmen'];
679
679
680
680
function searchDocument(doc, offsetX = 0, offsetY = 0) {
681
681
try {