Skip to content

How to use Seleniumbase as a replacement for UC ? #2043

Answered by mdmintz
MacMarde asked this question in Q&A
Discussion options

You must be logged in to vote

Here are some existing examples that use --uc mode:

Here's a raw driver example:

from seleniumbase import Driver
import time

driver = Driver(uc=True)
driver.get("https://nowsecure.nl/#relax")
time.sleep(6)
driver.quit()

SeleniumBase UC Mode can be activated by adding --uc as a pytest command-line option. For the formats that support it, using uc=True is another option. If you overwrite the get_new_driver function, then UC Mode will no lon…

Replies: 4 comments 17 replies

Comment options

You must be logged in to vote
9 replies
@oculunto
Comment options

@mdmintz
Comment options

@oculunto
Comment options

@mdmintz
Comment options

@oculunto
Comment options

Answer selected by mdmintz
Comment options

You must be logged in to vote
1 reply
@mdmintz
Comment options

Comment options

You must be logged in to vote
2 replies
@mdmintz
Comment options

@MacMarde
Comment options

Comment options

You must be logged in to vote
5 replies
@mdmintz
Comment options

@MacMarde
Comment options

@MacMarde
Comment options

@mdmintz
Comment options

@MacMarde
Comment options

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