TT#68016 selenium: actually use correct path for saving screenshots

FirefoxExtensions.pm:
- screenshots should save in /results instead of wherever he wanted to save
them in the first place

Change-Id: I0ff5a5876636bf14a2b898cb75c7ff8acd0ac259
changes/35/36135/1
Nico Schedel 5 years ago
parent d48699fe3f
commit ee17dcccba

@ -113,7 +113,7 @@ sub get_text_safe {
my $element = $self->find_element($path, $type);
return $element->get_text();
} catch {
$self->capture_screenshot('alert' . int(rand(1000)));
$self->capture_screenshot('/results/alert' . int(rand(1000)));
return 'Element not found';
};
}

Loading…
Cancel
Save