After Running the below Command: from selenium import webdriver
I get the Following error: Traceback (most recent call last): File "C:\Users\tempjatop\workspace\TestPython\Sample.py", line 1, in from selenium import webdriver File "C:\Python\lib\site-packages\selenium-3.0.0b2-py3.5.egg\selenium\webdriver__init__.py", line 25, in from .safari.webdriver import WebDriver as Safari # noqa File "C:\Python\lib\site-packages\selenium-3.0.0b2-py3.5.egg\selenium\webdriver\safari\webdriver.py", line 49 executable_path = os.environ.get("SELENIUM_SERVER_JAR") ^ TabError: inconsistent use of tabs and spaces in indentation
I don't know why it is redirecting it to safari webdriver. Please suggest any fixes or am i doing anything wrong?
Aucun commentaire:
Enregistrer un commentaire