Skip to content

"Hacking websites with CDP" is now on YouTube #3380

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mdmintz opened this issue Jan 1, 2025 · 10 comments
Open

"Hacking websites with CDP" is now on YouTube #3380

mdmintz opened this issue Jan 1, 2025 · 10 comments
Assignees
Labels
News / Announcements News Tutorials & Learning Tutorial videos and blog posts UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode

Comments

@mdmintz
Copy link
Member

mdmintz commented Jan 1, 2025

"Hacking websites with CDP" is now on YouTube:

https://www.youtube.com/watch?v=vt2zsdiNh3U

@mdmintz mdmintz added News / Announcements News Tutorials & Learning Tutorial videos and blog posts UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode labels Jan 1, 2025
@mdmintz mdmintz self-assigned this Jan 1, 2025
@mdmintz mdmintz pinned this issue Jan 4, 2025
@mdmintz mdmintz unpinned this issue Jan 4, 2025
@mdmintz
Copy link
Member Author

mdmintz commented Jan 6, 2025

The code for taking control of existing Chrome browsers via the remote-debugging-port is here:

#3354 (comment)

@boludoz
Copy link

boludoz commented Feb 6, 2025

The code for taking control of existing Chrome browsers via the remote-debugging-port is here:

#3354 (comment)

So we don't need chromedriver anymore? Like nodriver or Selenium driverless?

@mdmintz
Copy link
Member Author

mdmintz commented Feb 6, 2025

With pure CDP Mode, chromedriver isn’t necessary.

@mdmintz
Copy link
Member Author

mdmintz commented Feb 8, 2025

If stealth is important, you may have to use one of the CDP formats here: #3354 (comment)

Otherwise, you can try passing in the remote-debugging-port via chromium_arg, but that might not get you the results you’re looking for.

@dongdestroyer

This comment has been minimized.

@guocity
Copy link

guocity commented Feb 27, 2025

BaseCase class with SB() is synchronous is there anyway that i can use asynchronous driver from cdp_util instead of basecase driver?
from seleniumbase.undetected.cdp_driver import cdp_util
driver = await cdp_util.start_async()

@guocity
Copy link

guocity commented Feb 27, 2025

how do i call sb.uc_gui_click_captcha() from async code?

@mdmintz
Copy link
Member Author

mdmintz commented Feb 27, 2025

The async code can only call direct CDP methods.
(See https://chromedevtools.github.io/devtools-protocol/ for those methods)

@dima23113

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
News / Announcements News Tutorials & Learning Tutorial videos and blog posts UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode
Projects
None yet
Development

No branches or pull requests

5 participants