Skip to content

Commit

Permalink
* Remove RemoteDriver
Browse files Browse the repository at this point in the history
* Direct usage of HtmlUnitDriver, without intermediate class
  • Loading branch information
asashour committed Mar 27, 2017
1 parent a43b043 commit bc92f47
Show file tree
Hide file tree
Showing 25 changed files with 1,775 additions and 3,234 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package org.openqa.selenium.htmlunit.local;
package org.openqa.selenium.htmlunit;

import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package org.openqa.selenium.htmlunit.local;
package org.openqa.selenium.htmlunit;

import com.gargoylesoftware.htmlunit.html.DomElement;
import com.gargoylesoftware.htmlunit.html.DomNode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package org.openqa.selenium.htmlunit.local;
package org.openqa.selenium.htmlunit;

import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Condition;
Expand All @@ -35,13 +35,13 @@
*/
public class HtmlUnitAlert implements Alert {

HtmlUnitLocalDriver driver;
HtmlUnitDriver driver;
private AlertHolder holder_;
private boolean quitting_;
private Lock lock = new ReentrantLock();
private Condition condition = lock.newCondition();

HtmlUnitAlert(HtmlUnitLocalDriver driver) {
HtmlUnitAlert(HtmlUnitDriver driver) {
this.driver = driver;
WebClient webClient = driver.getWebClient();
webClient.setAlertHandler(this::alertHandler);
Expand Down
Loading

0 comments on commit bc92f47

Please sign in to comment.