Skip to content

Commit d4d46b7

Browse files
committed
Update a docstring
1 parent 1116fad commit d4d46b7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

seleniumbase/undetected/cdp_driver/cdp_util.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,10 @@ def start_sync(*args, **kwargs) -> Browser:
689689

690690

691691
async def create_from_driver(driver) -> Browser:
692-
"""Create a Browser instance from a running driver instance."""
692+
"""Create a CDP Browser instance from a running UC driver.
693+
This method is DEPRECATED in favor of activate_cdp_mode(),
694+
which includes the option of switching between the modes,
695+
and also properly handles configuration based on options."""
693696
from .config import Config
694697

695698
conf = Config()

0 commit comments

Comments
 (0)