I have a WebDriver testsuite, which operates different when I execute it in normal and headless browser. There is an element which is not found when I execute it in headless mode, but found when I use the same code, same driver in normal mode. I use this flag to set headless mode:
chromeOptions.addArguments("--headless"); There is ChromeDriver 2.31 and WebDriver 3.5.2 in use. How could I debug this?
