Skip to content

Commit

Permalink
Merge pull request #13 from twilio/fix-chrome-tests
Browse files Browse the repository at this point in the history
Disable GPU hardware acceleration for Chrome (fixes #12)
  • Loading branch information
vania-pooh authored Jul 21, 2021
2 parents cbab6b2 + d720b89 commit f741e30
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ private MutableCapabilities getDesiredCapabilities() {
case CHROME:
ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.addArguments("no-sandbox");
chromeOptions.addArguments("disable-gpu");
chromeOptions.setCapability("screenResolution", "1280x1024x24");
return chromeOptions;
case YANDEX:
Expand Down

0 comments on commit f741e30

Please sign in to comment.