Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to see page is open in selenium

driver.get("https://store.steampowered.com/");
String actualTitle = driver.getTitle();
String expectedTitle = "Welcome to Stream";
Assert.assertEquals(expectedTitle,actualTitle,"you are not on steam dashboard page");
Source by sthttps #
 
PREVIOUS NEXT
Tagged: #page #open #selenium
ADD COMMENT
Topic
Name
3+2 =