diff --git a/README.en.md b/README.en.md index aaaff3a..e30a4c9 100644 --- a/README.en.md +++ b/README.en.md @@ -876,7 +876,7 @@ Parameter Description: ### scroll_to_see -​ scroll_to_see(loc_or_ele: Union[WebElement, tuple]) -> None +​ scroll_to_see(loc_or_ele: Union[str, tuple, WebElement, DriverElement]) -> None ​ Scroll until the element is visible. diff --git a/README.zh-cn.md b/README.zh-cn.md index 68de80a..0ce1d1c 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -872,7 +872,7 @@ MixPage封装了页面操作的常用功能,可在driver和session模式间无 ### scroll_to_see -​ scroll_to_see(loc_or_ele: Union[WebElement, tuple]) -> None +​ scroll_to_see(loc_or_ele: Union[str, tuple, WebElement, DriverElement]) -> None ​ 滚动直到元素可见。