Skip to content
Discussion options

You must be logged in to vote

sb.driver.add_cookie() is a WebDriver method. WebDriver isn't stealthy.

Calling WebDriver methods from CDP Mode will either remove your stealth or not work at all.

Since sb.driver.add_cookie() can only work on a matching domain, it means you already opened a URL to get there. Calling sb.open() from UC Mode automatically activates CDP Mode now. Using sb.driver.get(URL) instead will keep you in plain UC Mode.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Hielobro
Comment options

@mdmintz
Comment options

@Hielobro
Comment options

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants