getthecourse.blogspot.com is an Online Portal that will teach you Selenium From Scratch. selenium is a Web Application Framework Used to Automate the Front End Web Applications. Selenium can be Coded Using Various Languages such as Java, C#, Python, Ruby, etc.
Why we need to learn python as there are many programming languages to code selenium:
Python is one of the Famous and easiest programming Language to Code Selenium. Of All the Programming Languages to code Selenium, Pyhton makes your life easy to code Selenium.
Printing Hello World Message to the Console:
To Print HELLO WORLD to the terminal or console in Python programming, this is the following code we will execute in python:
Declaring Variables in Python:
variables are nothing but the containers for storing data. In python programming Language, we can easily Declare Variables, for storing values. There is no need of explicitly specifying data-types while declaring variables.Python interpreter will automatically assign space for the type of variable we are declaring. python Interpreter will Automatically assign 4 bytes of space for integer we are declaring. Like for other data types also it will allocate memory at run time.
Concatenating String And Integer in Python:
To concatenate String And a Value(int,float, etc) Numeric Datatype in Python, We have a special method: format method in python
We will get Error if we Use +(plus) Operator as follows:
Instead We Need to Use Format Method as follows:
Python has different type of Data Types. To know the type we need to use Type(variable) as follows: