12. Selenium Class and its Predefined Methods

As we've already come across the following two statements:

Statement1:

Selenium object1 = new DefaultSelenium("localhost", 4444, "*firefox", "http://www.selenium143.blogspot.com");

Statement2:

object1.open( );

What was actually happening:

1. We have created an object for 'Selenium' class and we called it as 'object1'
2. When we type object1 followed by a dot (i.e.) the Eclipse IDE has provided us with a lot of commands as shown below: