When trying to import using Pycharm
:
from selenium.webdriver.common.alert import Alert
It leaves the text in gray, and shows unused import statemnet
.
I tried to use the:
# noinspection PyUnresolvedReferences
But without success, why does this happen?