From ec95443182310bfc56abca3e0f3191be8633b916 Mon Sep 17 00:00:00 2001 From: g1879 Date: Mon, 1 Jun 2020 19:48:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DrissionPage/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DrissionPage/common.py b/DrissionPage/common.py index 4f50e68..75e90c3 100644 --- a/DrissionPage/common.py +++ b/DrissionPage/common.py @@ -13,7 +13,7 @@ from selenium.webdriver.remote.webelement import WebElement class DrissionElement(object): - def __init__(self, ele): + def __init__(self, ele: Union[Element, WebElement]): self._inner_ele = ele @property