Open JwDLR opened 2 days ago
@JwDLR, thank you for creating this issue. We will troubleshoot it as soon as we can.
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
Hi @JwDLR, I am not able to reproduce this error and the code works fine on my system. Can you reinstall selenium or upgrade to 4.27.1
?
I can reproduce the error on a second computer
conda create -n seleniumTest python=3.11 conda-forge::selenium=4.27
4.27.1 is not yet available via conda forge
Probably it's a Conda Forge problem. 4.27 is only a third of the size of the previous updates. I unpacked it manually and the js. files are also missing. Please see here
But when I install Selenium in a conda environment using pip, the files are there
pip install selenium
I didn't use conda-forge to install selenium, but yes the size is reduced to 1/3 as compared to previous ones.
@VietND96 can this be an issue due to the recent pyproject.toml
changes? I am not entirely sure about this since chances of something going wrong at conda
's end are minimal.
cc: @AutomatedTester
I suspect it relates to the support of Conda, which I can find https://github.com/conda/conda/issues/10633, https://github.com/conda/conda/issues/12462
Recently, setuptools config moved to pyproject.toml
from setup.py
Can you try to read this to see any help https://stackoverflow.com/questions/76722680/what-is-the-best-way-to-combine-conda-with-standard-python-packaging-tools-e-g
I am not sure how conda-forge::selenium
is created and published. Look around if you can raise an issue to them.
I can see https://pypi.org/project/python-wheel-to-conda-package/, probably can try to get wheel file from https://pypi.org/project/selenium/4.27.1/#files and convert it to Conda package, or try to do it yourself in local.
What happened?
I have updated my Conda environment and upgraded to selenium 4.27. When running my test, I get an error that the js files are missing in selenium/webdriver/remote. I went back to 4.26 and the error is gone or the files are back. Under 4.27 there are only .py files in the remote subfolder.
How can we reproduce the issue?
Relevant log output
Operating System
Windows 10
Selenium version
Python 3.11 and 3.12
What are the browser(s) and version(s) where you see this issue?
Firefox 128.3.1esr
What are the browser driver(s) and version(s) where you see this issue?
webdriver-manager 4.0.2
Are you using Selenium Grid?
No response