src/main/java/com/xceptance/neodymium/util/SelenideAddons.java
/**
     * Open the supplied HTML content with the current web driver.
     * 
     * @param htmlContent
     *            a String containing the HTML that should be opened in the current web driver
     */
Open the supplied HTML content with the current web driver.

@param htmlContent
a String containing the HTML that should be opened in the current web driver
Open the supplied HTML content with the current web driver . @param htmlContent a String containing the HTML that should be opened in the current web driver
public static void openHtmlContentWithCurrentWebDriver(String htmlContent)
    {
        String encodedStuff = Base64.getEncoder().encodeToString(htmlContent.getBytes());
        open("data:text/html;charset=utf-8;base64," + encodedStuff);
    }
public static void openHtmlContentWithCurrentWebDriver ( String htmlContent ) { String encodedStuff = Base64 . getEncoder ( ) . encodeToString ( htmlContent . getBytes ( ) ) ; open ( "data:text/html;charset=utf-8;base64," + encodedStuff ) ; }
Open the supplied HTML content with the current web driver.
Open the supplied HTML content with the current web driver .