Selenium not working on Pycharm

I installed Selenium on my system using 'pip install selenium' and it works great on Mac Console. But when I tried using selenium in my project on Pycharm, I got an error that No module named Selenium exists. What am I doing wrong?

Answers


So I found what I was doing wrong. My Mac Terminal and Pycharm were using different Python that I installed on my system, so I changed the path on Pycharm interpreter to the local path where Selenium was installed.


Maybe you use python 2.x and 3.x on your computer and you configured in pycharm other then the one you use in console? If it is so then pip could install selenium to python 2.x and in pycharm you are using 3.x or the other way round.


Need Your Help

Preloading audio on mobile devices

javascript jquery ajax audio preload

I've got some JS setup to play a sound on click. My problem is that on mobile devices the sound loads when clicked instead of playing after preload. I've attempted to use html5preloader.js and jQuery