File tree Expand file tree Collapse file tree
src/main/java/functional/tests/core/mobile/settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ public class MobileSettings extends Settings {
4545 public SettingsAndroid android ;
4646 public DeviceType deviceType ;
4747 public boolean reuseDevice ;
48+ public boolean usePrebuiltWDA ;
4849
4950 /**
5051 * Init settings.
@@ -222,6 +223,11 @@ public void initSettings() {
222223 this .deviceBootTimeout = this .convertPropertyToInt ("deviceBootTimeout" , 300 );
223224 this .deviceType = this .getDeviceType ();
224225
226+ String usePreBuildWDAEnv = System .getenv ("USE_PREBUILT_WDA" );
227+ if (usePreBuildWDAEnv != null && !usePreBuildWDAEnv .isEmpty ()){
228+ this .usePrebuiltWDA = usePreBuildWDAEnv == "true" ? true : false ;
229+ }
230+
225231 if (this .platform == PlatformType .Android ) {
226232 loggerBase = LoggerBase .getLogger ("AndroidSettings" );
227233 this .android = this .initSettingsAndroid ();
You can’t perform that action at this time.
0 commit comments