无法在Electron BrowserWindow中解决Google reCAPTCHA

问题描述 投票:0回答:1

[在我的电子应用程序中,我尝试打开一个外部网站(例如BrowserWindow.lodUrl('www.abc.xyz')),该网站受Google的reCAPATCHA保护。带有页面的浏览器窗口是打开的,因此用户可以解决验证码,并且它不像机器人。

但是以某种方式,对reCAPTCHA验证请求的唯一响应是

)]}'
["rresp",null,null,null,null,null,1]

也不会出现“路牌”或“交叉”选择的reCAPTHCA弹出窗口。

另外,我在控制台中收到警告

A cookie associated with a cross-site resource at http://google.com/ was set without the `SameSite` attribute. 
A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. 
You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
node.js electron recaptcha
1个回答
0
投票

您是否在整个应用中保持会话状态?您的Cookie可能与他们想要的不匹配。

© www.soinside.com 2019 - 2024. All rights reserved.