Commit c7f6f0de authored by Artur Khachatryan's avatar Artur Khachatryan Committed by Commit Bot

[ChromeDriver] Disabling GPU for Mac platform

The waterfall tests on Mac appear to be flaky so disabling GPU for Mac platforms as well.

Bug: chromedriver:1695
Change-Id: Id39fea14a40857bec33e78ffe2d3c65e51ada91c
Reviewed-on: https://chromium-review.googlesource.com/884303
Commit-Queue: Artur Khachatryan <khachatryan@chromium.org>
Reviewed-by: default avatarJohn Chen <johnchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#531669}
parent 909f8e7a
...@@ -152,7 +152,8 @@ class ChromeDriver(object): ...@@ -152,7 +152,8 @@ class ChromeDriver(object):
elif chrome_binary: elif chrome_binary:
options['binary'] = chrome_binary options['binary'] = chrome_binary
if sys.platform.startswith('linux') and android_package is None: if (sys.platform.startswith('linux') or sys.platform.startswith('darwin')) \
and android_package is None:
if chrome_switches is None: if chrome_switches is None:
chrome_switches = [] chrome_switches = []
# Workaround for crbug.com/611886. # Workaround for crbug.com/611886.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment