خرید بک لینک

Vote count: 0

I am trying to use HTMLUnitDriver in my selenium test to understand how HTMLUnitDriver works. Kindly help me with resolving the issue.

I have added the below jars to the build path in eclipse selenium-java-2.53.0 jars TestNG jar

Added the below jars as these were mentioned in other posts as a solution to the error I encountered. However, the issue remains. selenium-htmlunit-driver-2.52.0 jar selenium-server-standalone-2.53.0

Hi,

I am trying to use HTMLUnitDriver in my selenium test to understand how HTMLUnitDriver works. Kindly help me with resolving the issue.

I have added the below jars to the build path in eclipse selenium-java-2.53.0 jars TestNG jar

Added the below jars as these were mentioned in other posts as a solution to the error I encountered. However, the issue remains. selenium-htmlunit-driver-2.52.0 jar selenium-server-standalone-2.53.0 import org.openqa.selenium.htmlunit.HtmlUnitDriver; import org.testng.aotations.Test;

public class GoogleSearch {

@Test
public void testHTMLUnitDriver() {

    HtmlUnitDriver unitDriver = new HtmlUnitDriver();

    unitDriver.get("https://www.google.co.uk/");

    System.out.println("Title of the page is:" +unitDriver.getTitle());


}

}

asked 47 secs ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 7 تير 1395 ساعت: 7:08

صفحه بندی