@ -89,18 +89,20 @@ class Data:
|
||||
|
||||
url = link.get_attribute('href')
|
||||
|
||||
link = self.parse_url(url)
|
||||
if 'gitlab.com/-/ide/project' not in url: # ignore gitlab ide links
|
||||
|
||||
hyperlink_source_file = {'name': source_file, 'location': link_location}
|
||||
link = self.parse_url(url)
|
||||
|
||||
if link['url_id'] in data['hyperlinks']:
|
||||
hyperlink_source_file = {'name': source_file, 'location': link_location}
|
||||
|
||||
data['hyperlinks'][link['url_id']]['source_files'].append(hyperlink_source_file)
|
||||
if link['url_id'] in data['hyperlinks']:
|
||||
|
||||
else:
|
||||
data['hyperlinks'][link['url_id']]['source_files'].append(hyperlink_source_file)
|
||||
|
||||
link['source_files'] = [ hyperlink_source_file ]
|
||||
data['hyperlinks'][link['url_id']] = link
|
||||
else:
|
||||
|
||||
link['source_files'] = [ hyperlink_source_file ]
|
||||
data['hyperlinks'][link['url_id']] = link
|
||||
|
||||
|
||||
events = [self.process_browser_log_entry(entry) for entry in self.driver.get_log('performance')]
|
||||
|
Reference in New Issue
Block a user