Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the Test without Existing Browser (HtmlUnitDriver) #201

Open
c0d3sling3r opened this issue Mar 4, 2024 · 1 comment
Open

Running the Test without Existing Browser (HtmlUnitDriver) #201

c0d3sling3r opened this issue Mar 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@c0d3sling3r
Copy link

I need to know if there is anyway to run the automated test without an existing browser? Somehow I need to run the test on a machine which has no GUI. Is there any way to approach this?

I've read Selenium on Java has a feature to run without browser running: HtmlUnitDriver

@stevepryde
Copy link
Collaborator

You should be able to run using a real browser under something like xvfb. Also see the official docker images for selenium. There's also some documentation here:
https://stevepryde.github.io/thirtyfour/tools/selenium.html#setting-up-docker-and-selenium

As for HtmlUnitDriver, it's not implemented at the moment but if you know the shape of the capabilities struct you could probably get it working.

@stevepryde stevepryde added the enhancement New feature or request label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants