报错:
selenium.common.exceptions.WebDriverException: Message: : Failed to read the 'localStorage' property from 'Window': Storage is disabled inside 'data:' URLs.
原因:
是因为 driver 还没有定向到系统的 web 页,初始化后就尝试去直接访问本地存储,才会报这个错。
报错:
selenium.common.exceptions.WebDriverException: Message: : Failed to read the 'localStorage' property from 'Window': Storage is disabled inside 'data:' URLs.
原因:
是因为 driver 还没有定向到系统的 web 页,初始化后就尝试去直接访问本地存储,才会报这个错。