Skip to content
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

Undetected-Driver #1658

Closed
pedrots00 opened this issue Jan 8, 2023 · 4 comments
Closed

Undetected-Driver #1658

pedrots00 opened this issue Jan 8, 2023 · 4 comments
Labels
question Someone is looking for answers UC Mode Undetected Chromedriver Mode (--uc)

Comments

@pedrots00
Copy link

Hi! First of all, I would like to congratulate you on the project. I'm loving working with Selenium Base.
I was facing problems with Headless from Undetected Chrome, and one of the solutions was to use 'import Driver'.

My question is, can I use the same SB() tools together with the Driver? like css selectors, automatically wait for elements, and other amazing features.
I'm new to programming, and the project is helping me a lot.

@mdmintz
Copy link
Member

mdmintz commented Jan 8, 2023

Hello! Check out the existing SeleniumBase solution I posted in ultrafunkamsterdam/undetected-chromedriver#847 (I’m currently on vacation, so I’m limited in posting ability)

@pedrots00
Copy link
Author

Hi!! I'm already using it, I just followed this tutorial. My doubt is When using the "import driver", I have the same benefits of using the SB(), for example, the "automatic sleep", the wait_for_element, etc. By the way, enjoy your vacation!

@mdmintz
Copy link
Member

mdmintz commented Jan 8, 2023

SB() has all the options as the Driver(), and more. With SB(), you also get access to all the SeleniumBase methods. If using BaseCase inheritance, you can pass the options via the command line for pytest runs, (eg. --uc). For the BaseCase version, see https://github.com/seleniumbase/SeleniumBase/blob/master/examples/verify_undetected.py

@mdmintz mdmintz added the question Someone is looking for answers label Jan 12, 2023
@mdmintz
Copy link
Member

mdmintz commented Jan 14, 2023

Let me know if you have any more questions!

@mdmintz mdmintz closed this as completed Jan 15, 2023
@mdmintz mdmintz added the UC Mode Undetected Chromedriver Mode (--uc) label Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Someone is looking for answers UC Mode Undetected Chromedriver Mode (--uc)
Projects
None yet
Development

No branches or pull requests

2 participants