Skip to content

执行示例脚本报错,求教 #2

@java-Learner-lx

Description

@java-Learner-lx

create_new_tab error: HTTPConnectionPool(host='127.0.0.1', port=9222): Max retries exceeded with url: /json/new?https://www.zhihu.com/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x10b42ee50>: Failed to establish a new connection: [Errno 61] Connection refused',))
start_tab error: 'NoneType' object has no attribute 'start'
exec_js_cmd error: 'NoneType' object has no attribute 'Runtime'
get_page_status error: 'NoneType' object has no attribute 'getitem'
exec_js_cmd error: 'NoneType' object has no attribute 'Runtime'
Traceback (most recent call last):
File "run_zhihu.py", line 36, in
run(zhihu_url)
File "run_zhihu.py", line 32, in run
tab.wait(1)
AttributeError: 'NoneType' object has no attribute 'wait'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions