3030import org .openqa .selenium .chrome .ChromeOptions ;
3131import org .openqa .selenium .devtools .DevTools ;
3232import org .openqa .selenium .devtools .HasDevTools ;
33- import org .openqa .selenium .devtools .v102 .network .Network ;
34- import org .openqa .selenium .devtools .v102 .network .model .Headers ;
33+ import org .openqa .selenium .devtools .v106 .network .Network ;
34+ import org .openqa .selenium .devtools .v106 .network .model .Headers ;
3535import org .openqa .selenium .interactions .Actions ;
3636import org .openqa .selenium .print .PrintOptions ;
3737import org .openqa .selenium .support .ui .ExpectedCondition ;
@@ -1002,7 +1002,7 @@ public static boolean verifyElementTextContains(By by, String text) {
10021002 }
10031003
10041004 Assert .assertTrue (result , "The actual text is " + getTextElement (by ).trim () + " not contains " + text .trim ());
1005-
1005+
10061006 if (ExtentTestManager .getExtentTest () != null ) {
10071007 ExtentReportManager .warning ("Verify text of an element [Contains] : " + result );
10081008 }
@@ -1513,7 +1513,7 @@ public static boolean pressF11() {
15131513 }
15141514 }
15151515
1516- @ Step ("Open website with get URL " )
1516+ @ Step ("Reload page " )
15171517 public static void reloadPage () {
15181518 smartWait ();
15191519
@@ -1553,7 +1553,7 @@ public static void getURL(String URL) {
15531553 Log .info ("Open URL: " + URL );
15541554
15551555 if (ExtentTestManager .getExtentTest () != null ) {
1556- ExtentReportManager .pass (BOLD_START + ICON_Navigate_Right + " Open URL : " + BOLD_END + URL );
1556+ ExtentReportManager .pass (" Open URL: " + URL );
15571557 }
15581558 AllureManager .saveTextLog ("Open URL: " + URL );
15591559
@@ -1574,7 +1574,7 @@ public static void navigateToUrl(String URL) {
15741574 waitForPageLoaded ();
15751575
15761576 if (ExtentTestManager .getExtentTest () != null ) {
1577- ExtentReportManager .pass (BOLD_START + ICON_Navigate_Right + " Navigate to URL: " + BOLD_END + URL );
1577+ ExtentReportManager .pass (" Navigate to URL: " + URL );
15781578 }
15791579 AllureManager .saveTextLog ("Navigate to URL: " + URL );
15801580
@@ -1595,7 +1595,7 @@ public static void setText(By by, String value) {
15951595 waitForElementVisible (by ).sendKeys (value );
15961596
15971597 if (ExtentTestManager .getExtentTest () != null ) {
1598- ExtentReportManager .pass (FrameworkConstants . BOLD_START + value + FrameworkConstants . BOLD_END + " value is successfully passed in textbox." );
1598+ ExtentReportManager .pass (value + " value is successfully passed in textbox." );
15991599 }
16001600 AllureManager .saveTextLog (value + " value is successfully passed in textbox." );
16011601 if (SCREENSHOT_ALL_STEPS .equals (YES )) {
@@ -1613,7 +1613,7 @@ public static void setText(By by, String value) {
16131613 public static void clearText (By by ) {
16141614 waitForElementVisible (by ).clear ();
16151615 if (ExtentTestManager .getExtentTest () != null ) {
1616- ExtentReportManager .pass (FrameworkConstants . BOLD_START + "Clear" + FrameworkConstants . BOLD_END + " value in textbox successfully." );
1616+ ExtentReportManager .pass ("Clear value in textbox successfully." );
16171617 }
16181618 AllureManager .saveTextLog ("Clear value in textbox successfully." );
16191619 if (SCREENSHOT_ALL_STEPS .equals (YES )) {
@@ -1632,7 +1632,7 @@ public static void clickElement(By by) {
16321632 waitForElementVisible (by ).click ();
16331633
16341634 if (ExtentTestManager .getExtentTest () != null ) {
1635- ExtentReportManager .pass (FrameworkConstants . BOLD_START + "Clicked" + FrameworkConstants . BOLD_END + " on the object " + by .toString ());
1635+ ExtentReportManager .pass ("Clicked on the object " + by .toString ());
16361636 }
16371637 AllureManager .saveTextLog ("Clicked on the object " + by .toString ());
16381638
0 commit comments