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

Unified Diff: chrome/test/functional/webdriver_pages/settings.py

Issue 10836130: Update the webdriver_pages to use "list" instead of "listbox". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/webdriver_pages/settings.py
diff --git a/chrome/test/functional/webdriver_pages/settings.py b/chrome/test/functional/webdriver_pages/settings.py
index f933f22ba5a624de9d4579974c167144720c567b..696e6c0e0d14e3efdfa90ef78a0e593258bb2e0f 100644
--- a/chrome/test/functional/webdriver_pages/settings.py
+++ b/chrome/test/functional/webdriver_pages/settings.py
@@ -323,7 +323,7 @@ class ManageExceptionsPage(object):
def __init__(self, driver, content_type):
self._list_elem = driver.find_element_by_xpath(
'.//*[@id="content-settings-exceptions-area"]'
- '//*[@contenttype="%s"]//list[@role="listbox"]'
+ '//*[@contenttype="%s"]//list[@role="list"]'
'[@class="settings-list"]' % content_type)
self._driver = driver
self._content_type = content_type
@@ -331,7 +331,7 @@ class ManageExceptionsPage(object):
self._incognito_list_elem = driver.find_element_by_xpath(
'.//*[@id="content-settings-exceptions-area"]'
'//*[@contenttype="%s"]//div[not(@hidden)]'
- '//list[@mode="otr"][@role="listbox"]'
+ '//list[@mode="otr"][@role="list"]'
'[@class="settings-list"]' % content_type)
except selenium.common.exceptions.NoSuchElementException:
self._incognito_list_elem = None
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698