Home | History | Annotate | Download | only in functional

Lines Matching refs:checkbox

40     """Clicks on 'Enabled' checkbox for specified extension.
46 checkbox = self._driver.find_element_by_xpath(
47 '//*[@id="%s"]//*[@class="enable-controls"]//*[@type="checkbox"]' %
49 if checkbox != enabled:
50 checkbox.click()
55 """Clicks on 'Allow in incognito' checkbox for specified extension.
62 checkbox = self._driver.find_element_by_xpath(
63 '//*[@id="%s"]//*[@class="incognito-control"]//*[@type="checkbox"]' %
65 if checkbox.is_selected() != allowed:
66 checkbox.click()
71 """Clicks on 'Allow access to file URLs' checkbox for specified extension.
78 checkbox = self._driver.find_element_by_xpath(
79 '//*[@id="%s"]//*[@class="file-access-control"]//*[@type="checkbox"]' %
81 if checkbox.is_selected() != allowed:
82 checkbox.click()