Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Unified Diff: tools/testing/run_selenium.py

Issue 10661039: added preliminary ShadowDOM tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« tests/html/shadow_dom_test.dart ('K') | « tests/html/shadow_dom_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/run_selenium.py
diff --git a/tools/testing/run_selenium.py b/tools/testing/run_selenium.py
index 45342e0a175675c5673def92ac99a85c12f7ca7a..a95f4c6ebacfe59e560a8ce7226b1ab95988ccbd 100755
--- a/tools/testing/run_selenium.py
+++ b/tools/testing/run_selenium.py
@@ -144,6 +144,9 @@ def start_browser(browser, executable_path, html_out):
dartium_dir = os.path.join(script_dir, '..', '..', 'client', 'tests',
'dartium')
options = selenium.webdriver.chrome.options.Options()
+ # enable ShadowDOM and style scoped for Dartium
+ options.add_argument('--enable-shadow-dom')
+ options.add_argument('--enable-style-scoped')
if executable_path is not None:
options.binary_location = executable_path
elif platform.system() == 'Windows':
« tests/html/shadow_dom_test.dart ('K') | « tests/html/shadow_dom_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698