Skip to content

Why is 2 windows opened while using Driver with options? #2373

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

You must be logged in to vote

seleniumbase.undetected is not designed to be called directly. (See valid formats: SeleniumBase/help_docs/syntax_formats.md)

For the direct Driver() format, pass your options via the built-in method args.

Most of the options you're trying to pass are already automatically being set as needed:

chrome_options.add_argument("--disable-gpu")

chrome_options.add_argument("--disable-dev-shm-usage")

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
Comment options

You must be logged in to vote
0 replies
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