Skip to content

Commit 06cc05a

Browse files
committed
Update the CDP Mode ReadMe
1 parent 36c7115 commit 06cc05a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/cdp_mode/ReadMe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,12 +583,12 @@ sb.cdp.save_as_pdf(name, folder=None)
583583

584584
### 🐙 <b translate="no">Pure CDP Mode</b> (<code translate="no">sb_cdp</code>)
585585

586-
In <b translate="no">Pure CDP Mode</b>, the browser is launched using CDP, and all browser actions are performed using CDP. WebDriver isn't available at all, but SeleniumBase can still use <code>PyAutoGUI</code> methods as needed. Pure CDP Mode initialization:
586+
In <b translate="no">Pure CDP Mode</b>, the browser is launched using CDP, and browser actions are performed using CDP. WebDriver isn't available at all, but SeleniumBase can still call <code>PyAutoGUI</code> methods when CDP isn't enough. Here's how to initialize Pure CDP Mode:
587587

588588
```python
589589
from seleniumbase import sb_cdp
590590

591-
sb = sb_cdp.Chrome(url=None, **kwargs)
591+
sb = sb_cdp.Chrome(url)
592592
```
593593

594594
<b translate="no">Pure CDP Mode</b> includes all methods from regular CDP Mode, except that they're called directly from <code>sb</code> instead of <code>sb.cdp</code>. Eg: <code>sb.gui_click_captcha()</code>. To quit a CDP-launched browser, use `sb.driver.stop()`.

0 commit comments

Comments
 (0)