Skip to content

Commit 001690f

Browse files
committed
dont navigate to baseUrl if its not set
1 parent e44c753 commit 001690f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/io/ddavison/conductor/Locomotive.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ public Class<? extends Annotation> annotationType() {
192192
}
193193

194194
actions = new Actions(driver);
195-
driver.navigate().to(baseUrl);
195+
196+
if (StringUtils.isNotEmpty(baseUrl)) driver.navigate().to(baseUrl);
196197
}
197198

198199
/**

0 commit comments

Comments
 (0)