Skip to content

Commit

Permalink
Merge pull request #84 from mathdugre/fix/navigation
Browse files Browse the repository at this point in the history
[FIX] broken link to "ALL" buttoni in metadata page.
  • Loading branch information
mathdugre authored May 23, 2024
2 parents 34ff4b6 + 3f265a4 commit 01d5662
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ppmi_downloader/ppmi_navigator.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,9 +668,11 @@ def Download_StudyData_ALL(self) -> None:
while not self.driver.current_url == studydata_url:
# Need to click on ALL tab first to be able to see all checkboxes
# See screenshots_errors/Screenshot_error_ALL_06-12-2023.jpg
self.click_button("ygtvlabelel77", BY=By.ID, debug_name="ALL tab")
while not self.driver.current_url.startswith(studydata_url):
self.click_button("sCatChkBox_312", BY=By.ID, debug_name="ALL checkbox")

self.click_button(
'//*[@id="categoryMenuTree"]//*[@class="ida-studyData-category"][text()="ALL"]',
debug_name="ALL tab",
)

def Download_ImageCollections(self) -> None:
r"""Action to click on "Image Collections" in "Download"
Expand Down

0 comments on commit 01d5662

Please sign in to comment.