-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
webdriver/phantomjs/service.py OS-level handle needs to be closed #1854
Comments
The same problem. UP! |
Yup, just upgraded selenium and getting it ! |
I am facing this issue too on Windows 7, selenium-2.48.0 |
I got the same problem too! Selenium 2.53.1 |
lukeis
pushed a commit
that referenced
this issue
Mar 28, 2016
Fixes #1854 Signed-off-by: Luke Inman-Semerau <luke.semerau@gmail.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
in webdriver/phantomjs/service.py
on line 45
self._cookie_temp_file = tempfile.mkstemp()[1]
^^ OS-level handle is ignored here
OS-level handle to an open file needs to be closed during driver.quit() or it will throw Exception to Windows users
WindowsError: [Error 32] The process cannot access the file because it is being used by another process:
exception is raised on line 68 in selenium\webdriver\phantomjs\service.py", line 68, in send_remote_shutdown_command
os.remove(self._cookie_temp_file)
The text was updated successfully, but these errors were encountered: