Closed jindameias closed 1 year ago
每次都这样吗?访问的地址方便发一下吗
每次都这样吗?访问的地址方便发一下吗
就是你给的示例网址https://nowsecure.nl
应该就是下面这个点击,他不会点。不知道你的版本是什么。我的是py3.7.9 playwright==1.32.1
pip install git+https://github.com/vvanglro/cf-clearance.git@main
试试最新的, 我这边没问题, 建议使用些速度快高质量的代理去访问
我是最新的,应该是playwright的最新的原因? 我将"xpath=//[@id='cf-stage']//label/span"替换为"xpath=//[@id='cf-stage']//label/input"他就可以正常点击了
Traceback (most recent call last): File "D:\python_env\cf_clear\lib\site-packages\cf_clearance\retry.py", line 26, in async_cf_retry await iframe_button.click() File "D:\python_env\cf_clear\lib\site-packages\playwright\async_api_generated.py", line 2078, in click trial=trial, File "D:\python_env\cf_clear\lib\site-packages\playwright_impl_element_handle.py", line 127, in click await self._channel.send("click", locals_to_params(locals())) File "D:\python_env\cf_clear\lib\site-packages\playwright_impl_connection.py", line 62, in send lambda: self.inner_send(method, params, False) File "D:\python_env\cf_clear\lib\site-packages\playwright_impl_connection.py", line 461, in wrap_api_call return await cb() File "D:\python_env\cf_clear\lib\site-packages\playwright_impl_connection.py", line 96, in inner_send result = next(iter(done)).result() playwright._impl._api_types.TimeoutError: Timeout 30000ms exceeded.
应该是没有点击那个框框