In this seminar, I have mainly covered how we can start Selenium WebDriver with Python . This video will mainly cover 1- Introduction to Python 2- Install Python …

source

37 Comments

  1. can anyone help me solve this issue?
    Traceback (most recent call last):
    File "C:/Python27/facebook.py", line 3, in <module>
    driver=webdriver.Chrome("G:\Selenium\Chrome\chromedriver.exe")
    File "C:Python27libsite-packagesseleniumwebdriverchromewebdriver.py", line 62, in _init_
    self.service.start()
    File "C:Python27libsite-packagesseleniumwebdrivercommonservice.py", line 71, in start
    os.path.basename(self.path), self.start_error_message)
    WebDriverException: Message: 'chromedriver.exe' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

  2. Hello, I have a problem in 6.

    I have a script, download EEDriverServer, and launch. I receive error selenium.common.exceptions.NoSuchElementException: Message: Unable to find element with id == email "

    I run the same script, only change a browser. Anybody have a similar problems?

  3. Dhanya ho gya gururji mein ! 😀
    Can we make any framework using Python, line pom and keyword driven FW.
    and Thanks Sir for nice tutorial !

  4. Hi Mukesh,

    I want to learn Pyunit testing, i searched at many sites but i didn't got good clarity. could
    you please make some video classes on that. it would be more helpful.

    thank you

  5. mport unittest
    from selenium import webdriver
    from selenium.webdriver.common.keys import Keys

    class SearchTests(unittest.TestCase):

    def setup(self):

    # create a new Firefox session
    self.driver = webdriver.Chrome("C:\Users\Dreamthought\Downloads\chromedriver_win32")
    self.driver.implicitly_wait(30)
    self.driver.maximize_window()

    I am getting a bunch of error message while running the above code. Please help me to fix the issue.

    C:UsersDreamthoughtAppDataLocalProgramsPythonPython35-32python.exe "C:Program Files (x86)JetBrainsPyCharm Community Edition 2016.2.1helperspycharmutrunner.py" C:UsersDreamthoughtPycharmProjectsMyfirstseleniumMyPythonProgramBasicscript.py true
    Testing started at 7:56 AM …
    Traceback (most recent call last):
    File "C:Program Files (x86)JetBrainsPyCharm Community Edition 2016.2.1helperspycharmutrunner.py", line 153, in <module>
    modules = [loadSource(a[0])]
    File "C:Program Files (x86)JetBrainsPyCharm Community Edition 2016.2.1helperspycharmutrunner.py", line 65, in loadSource
    module = imp.load_source(moduleName, fileName)
    File "C:UsersDreamthoughtAppDataLocalProgramsPythonPython35-32libimp.py", line 172, in load_source
    module = _load(spec)
    File "<frozen importlib._bootstrap="">", line 693, in _load
    File "<frozen importlib._bootstrap="">", line 673, in _load_unlocked
    File "<frozen importlib._bootstrap_external="">", line 661, in exec_module
    File "<frozen importlib._bootstrap_external="">", line 767, in get_code
    File "<frozen importlib._bootstrap_external="">", line 727, in source_to_code
    File "<frozen importlib._bootstrap="">", line 222, in _call_with_frames_removed
    File "C:UsersDreamthoughtPycharmProjectsMyfirstseleniumMyPythonProgramBasicscript.py", line 7
    def setup(self):
    ^
    IndentationError: expected an indented block

    Process finished with exit code 1

  6. Hi Mukesh , I appreciate and like the tutorial very much ,do we have any framework for Selenium with Python , please let us know … Thanks for all your efforts .

  7. Hi Mukesh,
    When are you planning to roll out further the intermediate/advanced tutorials for selenium with python,specially framework design and development using selenium and python

  8. hi Mukesh in Pycharm i am not getting the drop down suggestion the way you get for ex:
    driver.find_element…. (i am not getting drop down options to choose) can you please help me if anything i am missing

Leave A Reply

Please enter your comment!
Please enter your name here