Error while running tests from Gitlab #1707
Replies: 2 comments
-
Hello @shivabhardwaj18, The Chromium Team changed how they packaged Chromedriver in version 109 (They added a new License file into the zip file, where previously there was only the chromedriver executable). There was a ticket already filed for this: #1663, and it was fixed in The latest version of SeleniumBase is |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot Michael! Updating seleniumbase to 4.12.2 and pytest to 7.2.1 did resolve my issue. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am getting following error when trying to run seleniumbase tests from Gitlab. Is anyone aware about it or has faced anything similar:
File "/usr/local/bin/seleniumbase", line 8, in <module> sys.exit(main()) File "/usr/local/lib/python3.9/site-packages/seleniumbase/console_scripts/run.py", line 773, in main sb_install.main() File "/usr/local/lib/python3.9/site-packages/seleniumbase/console_scripts/sb_install.py", line 711, in main raise Exception("Expecting only one file in %s!" % zip_file_path) Exception: Expecting only one file in /usr/local/lib/python3.9/site-packages/seleniumbase/drivers/chromedriver_linux64.zip! Cleaning up file based variables ERROR: Job failed: command terminated with exit code 1
My yml file looks like below:
`
Thanks in advance for any answers!
Beta Was this translation helpful? Give feedback.
All reactions