We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 337efcf commit f2a1c46Copy full SHA for f2a1c46
src/test/java/stepdefinitions/BStackDemoSteps.java renamed to src/test/java/stepdefinitions/bstack_test_add_to_cart.java
@@ -16,7 +16,7 @@
16
import java.net.URL;
17
import java.time.Duration;
18
19
-public class BStackDemoSteps {
+public class bstack_test_add_to_cart {
20
21
private RemoteWebDriver driver;
22
private String notedProductName;
@@ -25,7 +25,8 @@ public class BStackDemoSteps {
25
public void i_open_the_bstack_demo_homepage() throws Exception {
26
DesiredCapabilities caps = new DesiredCapabilities();
27
caps.setBrowserName("chrome");
28
- // Set the
+
29
+ // Set the BrowserStack HUB URL
30
driver = new RemoteWebDriver(new URL("http://localhost:4444/wd/hub"), caps);
31
driver.manage().timeouts().implicitlyWait(Duration.ofSeconds(10));
32
driver.get("https://www.bstackdemo.com");
0 commit comments