-
Notifications
You must be signed in to change notification settings - Fork 903
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
Whitespace in Windows username causing non-critical error - Can I resolve this somehow? #1996
Comments
Hello! Thank you. Is this happening on your print(str(type(sb))) I can't reproduce your issue. If it's happening on a different line, I would need the exact line. Maybe try with a debugger: import pdb; pdb.set_trace() (And then use The part with |
Lightning-fast response! Going thru with pdb, i spotted a few errors, but none from any files from this repo. my only concern is the However, changing the line to As my username suggests, I'm not very good at this, so I really appreciate your patience. |
I'll look into it, but it will certainly help if you can use |
It's technically not an error, so it's hard to find. I'll give this another go when I have more time and let you know. Thanks for everything |
@mdmintz
|
The Deleting the drivers and running the script again did not output the errorLine - but did redownload the drivers to Is there a way to set a preference for drivers in Another issue could be that seleniumbase is simply not detecting my installed drivers. Other modules seem to find them though... |
I see the issue. It was with |
For the time being, if anyone else is having the same issue, do the following: Line ~160:
Line ~2915:
if you are using a different browser or still getting the issue search for |
This was resolved in |
Hello, I'm quite new to coding so please bear with me...
I'm using seleniumbase in python with VSCode in the following script:
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!
The text was updated successfully, but these errors were encountered: