Keerthana VasanthMarch 19, 2020
Selenium is an open source and portable tool for testing web applications. It provides a playback tool for authoring functional tests without the need to learn a test scripting language (Selenium IDE). It also provides a test domain specific language (Selenese) to write tests in a number of popular programming languages. The languages includes C#, Java, Perl, PHP, Python, Ruby and also Scala. The tests can then run against most modern web browsers. Selenium runs on Window, Linux and also mac-OS. It is an open source software released under the Apache License 2.0. In this blog we discuss in brief about Selenium Testing for Python.
Install python and pip. Then check python and pip is installed successfully.
python --version pip – version
Install selenium libraries
pip install -U selenium
install pycharm
Create new project in Pycharm.
File-->new-->give the name of file-->select the extension-->Ok
Add selenium scripts to the project
Run from IDE Run from Command Line