selenide: Chrome does not start in headless mode when proxyEnabled is true

The problem

I try to implement tests to check that file can be downloaded. So I put some settings for this in @Before method: Configuration.fileDownload = PROXY; Configuration.proxyEnabled = true;

It works fine and file has already downloaded when running on Chrome. But when I run a test on Chrome headless mode its failed because the browser isnt able to open tested page (just blank screen on a screenshot).

I didn’t’ set up any additional parameters for the proxy. I supposed Selenide own proxy should be enough for this simple case.

Tell us about your environment

  • **Selenide Version:5.0.0
  • **Chrome\Firefox\IE Version:Chrome v 71.0.3578.33
  • **OS Version:Windows 10 64

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 21 (8 by maintainers)

Most upvoted comments

@Silentpax also simple project with test and your dockerfile will help us to reproduce issue.