Selenium Python Beginner Tutorial – Learn Selenium Python in one video | Step by Step



Selenium Python Beginner Tutorial :
Learn Selenium Python in ONE VIDEO | Step by Step
==========================================

Today we will learn:
——————————-
1. How to download python on windows
2. How to install python
3. How to install selenium python libraries
4. Download IDE – PyCharm
5. Create new project
6. Add selenium scripts
7. Run and Validate

Step 1 : download python –

Step 2 : Install and check python and pip is…

, , , , , , , , , , , , , , , , , , , , , , ,

30 thoughts on “Selenium Python Beginner Tutorial – Learn Selenium Python in one video | Step by Step

  1. For the interpreter, you can instead create a pipfile with 'pipenv shell' and install with pip everything you need, and PyCharm will auto-load it. I find this pretty easier than the interpreter.

  2. C:UsersvsPycharmProjectsSeleniumvidPytvenvScriptspython.exe C:/Users/vs/PycharmProjects/SeleniumvidPyt/FirstTest/test1.py
    File "C:/Users/vs/PycharmProjects/SeleniumvidPyt/FirstTest/test1.py", line 5
    driver = webdriver.Chrome("C:UsersvsPycharmProjectsSeleniumvidPytdriverschromedriver.exe")
    ^
    SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated UXXXXXXXX escape

    Process finished with exit code 1

  3. Hello Raghav ,Thanks for your Efforts
    I am slightly st rucked ,I did installed selenium jar files "pip install -U Selenium" but when i am unable to import in my pycharm compiler. Suggestion please ?

  4. Hei Raghav!!! Really nice video. But I am having a tough time while installing selenium libraries.error: Could not find a version that satisfies the requirement selenium (from versions: )
    No matching distribution found for selenium

  5. Thank you so much sir. It's very clear and full of content. Your way of explaining topics is very very good. Please do more videos on Python-Selenium. Different frameworks, File handling(jason), lib.ui, lib.utils.

  6. I have a question, in my first example an error was present: ModuleNotFoundError: No module named 'selenium' , I wrote the instruction you show: from selenium import webdriver. Would you please help me. Thanks a lot

  7. C:UsersShahzadAppDataLocalProgramsPythonPython37-32python.exe C:/Users/Shahzad/PycharmProjects/testing/autotesting/seleniumtest.py
    File "C:/Users/Shahzad/PycharmProjects/testing/autotesting/seleniumtest.py", line 3
    driver = webdriver.Chrome ('C:UsersShahzadPycharmProjectstestingwebdriverschromedriver.exe')
    ^
    SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated UXXXXXXXX escape

    Process finished with exit code 1

  8. Plus getting this error when trying to run on firefox

    C:UsersCaitanPycharmProjectsTestvenvScriptspython.exe C:/Users/Caitan/PycharmProjects/Test/sample.py
    Traceback (most recent call last):
    File "C:/Users/Caitan/PycharmProjects/Test/sample.py", line 5, in <module>
    driver = webdriver.Firefox(r"..libarygeckodriver.exe")
    File "C:UsersCaitanPycharmProjectsTestvenvlibsite-packagesseleniumwebdriverfirefoxwebdriver.py", line 144, in _init_
    firefox_profile = FirefoxProfile(firefox_profile)
    File "C:UsersCaitanPycharmProjectsTestvenvlibsite-packagesseleniumwebdriverfirefoxfirefox_profile.py", line 78, in _init_
    ignore=shutil.ignore_patterns("parent.lock", "lock", ".parentlock"))
    File "C:UsersCaitanAppDataLocalProgramsPythonPython36libshutil.py", line 309, in copytree
    names = os.listdir(src)
    FileNotFoundError: [WinError 3] The system cannot find the path specified: '..\libary\geckodriver.exe'

    Process finished with exit code 1

Leave a Reply

Your email address will not be published. Required fields are marked *