package com.example;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;

import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.openqa.selenium.support.ui.ExpectedCondition;

public class Actionwords {
     
     WebDriver driver= new FirefoxDriver();

	
	public void iOpenP1(String p1) 
	{
	  System.out.println("inside iOpenP1"+p1);	
     	  driver.get(p1);
		 System.out.println("after driver get");	
	}
     public void iSearchForP1(String p1) 
	 {
     WebElement element = driver.findElement(By.name("q"));
     element.clear();
     element.sendKeys(p1);
     element.submit();
	}

}

@@ -339,18 +339,64 @@
 r driver
+;%0A%09%0A%09public void Actionwords()%0A%09%7B%0A%09      driver
 =
- 
 new Fire
@@ -407,16 +407,19 @@
 river();
+%0A%09%7D
 %0A%0A%09%0A%09pub

Update Actionwords.java