I have been practicing to automate few scenarios for web application way2Automation.com and struggling to enter the text in Registration form coming as the popup.
I have done some research already and tried many ways mentioned below:

a) Using WebDriverWait and explicit wait
b) Using Implicit wait and Thread.sleep
c) Using JavaScriptExecutor

But none of them worked for me and I am still stuck to register the user. Would really appreciate the help. Below are the artificats

URL: <http://way2automation.com/way2auto_jquery/index.php>

![way2atuomation](https://i.stack.imgur.com/RQP3V.png)

Code trials:

1)

```
//  WebElement ele = driver.findElement(By.xpath("//*[@id='load_form']/div/div[2]/input"));
//  JavascriptExecutor executor = (JavascriptExecutor)driver;
//  executor.executeScript("arguments[0].click();", ele);

```

2. 

```
//  WebElement button = driver.findElement(By.xpath("//*[@id=\"load_form\"]/div/div[2]/input"));
//  new WebDriverWait(driver, 10).until(ExpectedConditions.visibilityOf(button));

```