Created
April 21, 2020 22:39
-
-
Save nikz/b2bc264515fe92000f6e7894c6d739b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@driver = Selenium::WebDriver.for(:chrome, options: options) | |
@driver.execute_cdp('Emulation.setDefaultBackgroundColorOverride', {color: {r: 0, g: 0, b: 0, a: 0}}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This works great, thanks for this gist!