Skip to content

Navelpluis

Tag: chrome

Stable screenshot quality for Selenium

When using Chrome and some of the screenshots have black squares/areas/blocks instead of actual visual elements, like this:

Add the ‘–disable-gpu’ setting to your browser options. That’s all there is to it.

Author cschalkwijkPosted on September 18, 2024Tags black, chrome, java, screenshot, selenium, webdriver

Recent Posts

  • Do not use ‘useRelaxedHTTPSValidation’
  • Stable screenshot quality for Selenium
  • Passing true null values from Gherkin
  • Version Based Scenario Filtering
  • Dynamically Skipping Scenario

Archives

  • September 2024
  • August 2024

Categories

  • Dev
Navelpluis Proudly powered by WordPress