Skip to content

Commit f77d735

Browse files
committed
Set variables that may be helpful for developers to use
1 parent 4490427 commit f77d735

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10256,6 +10256,11 @@ def setUp(self, masterqa_mode=False):
1025610256

1025710257
settings_parser.set_settings(self.settings_file)
1025810258

10259+
# Set variables that may be useful to developers
10260+
self.log_abspath = os.path.abspath(self.log_path)
10261+
self.data_path = os.path.join(self.log_path, self.__get_test_id())
10262+
self.data_abspath = os.path.abspath(self.data_path)
10263+
1025910264
# Mobile Emulator device metrics: CSS Width, CSS Height, & Pixel-Ratio
1026010265
if self.device_metrics:
1026110266
metrics_string = self.device_metrics

0 commit comments

Comments
 (0)