SeleniumHQ / SeleniumHQ/htmlunit-driver

How to install htmlunit package?

Open
#88 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
266
Forks
91
PR merge metrics
No merged PRs in 30d

Description

When I try to run JUnit test in selenium at Ubuntu 18, I get this error:

10:48:09 ERROR: Child Process Error: Javac exited with code: 1
 /home/ubuntu/bzt/sel/VL.java:2: error: package org.openqa.selenium.htmlunit does not exist
import org.openqa.selenium.htmlunit.HtmlUnitDriver;
                                   ^
/home/ubuntu/bzt/sel/VL.java:83: error: cannot find symbol
    HtmlUnitDriver driver;
    ^

How would I install that missing package? I am using Taurus CLI Tool v1.14.2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with /home/ubuntu/bzt/sel/VL.java and the Taurus CLI v1.14.2 JUnit/Selenium setup on Ubuntu 18; reproduce the reported javac failure and inspect how the Selenium dependencies are provided. Done means org.openqa.selenium.htmlunit.HtmlUnitDriver resolves and the test compiles.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.