WebDriver And Python -2

 To be updated

1. Install Python.
2. Install Python setup tools.
pypi.python.org/pypi/setuptools#windows
Add Python2.7\Scripts directory in Path variable.
3. Download pip zip file and unzip it. pip also has a dependency on setuptools.
4. download setup : wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
python ez_setup.py --user
4. Install pip
goto script directory and run command easy_install pip
Close CMD and reopen it.
3. Install Selenium webdriver.
pip install -U selenium
4. Run sample python code.

Trouble Solving:
1. Browser is not opening website.
2. webdriver module is not getting imported.
3. Proxy errors.

Comments

Popular posts from this blog

Selenium: File download handling.

Major Differences between Python and Java

Cypress V/S Selenium