Skip to content

Whitespace in Windows username causing non-critical error - Can I resolve this somehow? #1996

@ScriptKiddie-1234

Description

@ScriptKiddie-1234

Hello, I'm quite new to coding so please bear with me...

I'm using seleniumbase in python with VSCode in the following script:

from seleniumbase import SB

with SB(browser='chrome',uc=True) as sb:
    print(type(sb))

however, when the script runs, I get 3 error reports of the nature "'C:\Users<username segment before whitespace>' is not recognized as an internal or external command, operable program or batch file."

I believe I have added everything to the windows environment variables and the fact that the path (and username) is incomplete makes me think the whitespace in my username doesn't play well with something in the code.

That said, the 3 error reports are the only issue - the script does return "<class 'seleniumbase.fixtures.base_case.BaseCase'>" afterwards. Also trials with actual urls and using other methods work swimmingly. So this maybe a non-issue, but if possible, I would like to resolve it somehow.

@mdmintz , your repo is fantastic!

Metadata

Metadata

Assignees

Labels

UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModebugUh oh... Something needs to be fixedquestionSomeone is looking for answers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions