Skip to content

Hiding the chromedriver console window in UC mode on Windows when using pyinstaller #1659

@anovob

Description

@anovob

I'm using chrome driver in SeleniumBase to open chrome

I compiled my script using pyinstaller as one exe file. When I fire up my app, I get a chromedriver.exe console (a black window) followed by a chrome window opened and all my requests are done.

I used bellow code when using undetected_chromedriver

driver = uc.Chrome(service_creationflags=subprocess.CREATE_NO_WINDOW)

My question: Is there a way in SeleniumBase to hide the console window ?

Metadata

Metadata

Assignees

Labels

UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeenhancementMaking things betterquestionSomeone is looking for answers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions