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

Configure PyCharm Editor to run the Robot framework.

PyTest Unit Testing Framework with Example.

PERL: Simple Log file(s) Generation and and colored output on CMD