Skip to content

Commit

Permalink
HtmlUnitDriver: Initial code cleanup.
Browse files Browse the repository at this point in the history
Notably: imports have been reorganized, missing @OVERRIDES added and
calls to depreacted APIs have been removed.

Signed-off-by: Simon Stewart <simon.m.stewart@gmail.com>
  • Loading branch information
rbri authored and shs96c committed Sep 16, 2014
1 parent 28a2730 commit 5fbcfb5
Show file tree
Hide file tree
Showing 6 changed files with 192 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,21 @@

package org.openqa.selenium.htmlunit;

import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;

import net.sourceforge.htmlunit.corejs.javascript.Function;
import net.sourceforge.htmlunit.corejs.javascript.NativeJavaObject;

import org.openqa.selenium.TimeoutException;
import org.openqa.selenium.WebDriverException;

import com.gargoylesoftware.htmlunit.ScriptException;
import com.gargoylesoftware.htmlunit.ScriptResult;
import com.gargoylesoftware.htmlunit.html.HtmlPage;
import net.sourceforge.htmlunit.corejs.javascript.Function;
import net.sourceforge.htmlunit.corejs.javascript.NativeJavaObject;

import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;

/**
* Injects an asynchronous script into the current page for execution. The script should signla that
* Injects an asynchronous script into the current page for execution. The script should signal that
* it is finished by invoking the callback function, which will always be the last argument passed
* to the injected script.
*/
Expand Down
Loading

0 comments on commit 5fbcfb5

Please sign in to comment.