Skip to content

Commit c95670e

Browse files
committed
Changed target element to wait for when visiting all the libraries and examples.
Change is needed to handle correctly the case that the page will fail to load.
1 parent 74fd849 commit c95670e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codebender_testing/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ def open_all_libraries_and_examples(self, url, logfile):
540540
tic = time.time()
541541
for url in urls_to_visit:
542542
self.open(url)
543-
self.get_element(By.CSS_SELECTOR, '#mycontainer h1')
543+
self.get_element(By.CSS_SELECTOR, '#mycontainer')
544544
if library_re.match(url):
545545
url_name = url.split('/')[-1]
546546
name = self.get_element(By.CSS_SELECTOR, '#mycontainer h1 small').text

0 commit comments

Comments
 (0)