This repository has been archived on 2024-09-10. You can view files and clone it, but cannot push or open issues or pull requests.

15 lines
442 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

class TabInfo(object):
TAB_TYPE_OTHER = "other"
TAB_TYPE_USER = "user"
TAB_TYPE_LIVE = "live"
def __init__(self):
self.tab_handler: str = ""
"""WebDriver中该标签的句柄ID"""
self.url: str = ""
"""标签地址"""
self.tab_type: str = self.TAB_TYPE_OTHER
"""标签类型,展示用"""
self.tab_keep: bool = False
"""关闭标签时,避免被误关"""