-
Notifications
You must be signed in to change notification settings - Fork 2.3k
DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. #4657
Comments
I have the exact same issue, which I think everyone has? |
+1 |
1 similar comment
+1 |
@juliemr - Are you aware what It takes to get some attention with this from the maintainers? And alternatively open up for additional maintainers? |
Is there any workaround for this issue? This prevents me from running tests. |
Sorry, I don't know much about webdriver-js-extender. Probably I can get some time to take a look at it this week, sorry for late response. |
Sorry my bad. My tests were not running for some other reason (webdriver-manager update needed to be run) . After I fixed the issue it's running again. thanks! |
I have same issue. Any idea to fixes it ? but my problem appears when I put shardTestFiles: true and maxInstances: 4 in protractor conf. |
@qiyigg did you get a chance to look at |
@devoto13 Not yet. The thing is this project is maintained by another contributor who is not active for a long time, I did check with other contributors to see who is familiar with it, but unfortunately no one knows the detail. From what I know so far, probably we don't need this dependency any more, but it requires some investigation to remove it safely. |
@qiyigg Thanks for an update! |
I am facing the same issue. how to resolve this |
I am working on a Protractor release today, this should be fixed after the new release. |
This issues was fixed by 056eec2 and released in 5.4.0. |
Bug report
8.7.0
5.2.2
-
-
macOS High Sierra
npm install
node --trace-warnings ./node_modules/.bin/protractor protractor.conf.js
Observe warning being printed to console:
It does not break anything, but is annoying. I would like to get rid of it once and for all. It comes from the following dependency chain
webdriver-js-extender -> selenium-webdriver@2.* -> tmp
. One possible fix would be to updateselenium-webdriver
dependency forwebdriver-js-extender
or replace it with peer dependency. There is even a PR trying to do that - angular/webdriver-js-extender#12. However it didn't get any attention and @sjelin does not seem to be active on Github for almost a year. I just thought that maybe somebody from the Protractor team can givewebdriver-js-extender
some maintainer love :) Or if it is not possible maybe Protractor can consider dropping/replacingwebdriver-js-extender
.The text was updated successfully, but these errors were encountered: