@@ -0,0 +1,1431 @@
+package springboot.example01;%0A%0Aimport java.util.concurrent.TimeUnit;%0A%0Aimport org.openqa.selenium.WebDriver;%0Aimport org.openqa.selenium.Proxy.ProxyType;%0Aimport org.openqa.selenium.firefox.FirefoxDriver;%0Aimport org.openqa.selenium.firefox.FirefoxProfile;%0A%0Aimport util.page.springapplication.SpringApplicationMainPage;%0Aimport util.page.springapplication.SpringApplicationMetricsPage;%0A%0Apublic class Example01 %7B%0A%09%0A%09private static WebDriver driver;%0A%09%0A%09private static WebDriver getWebDriver() %7B%0A%09%09System.setProperty(%0A%09%09%09%09%22webdriver.gecko.driver%22,%0A%09%09%09%09%22C:%5C%5CUsers%5C%5Cfr17649%5C%5CDesktop%5C%5Cpresentations%5C%5CSelenium-2016-11-29%5C%5Cdriver%5C%5Cgeckodriver-v0.16.1-win64%5C%5Cgeckodriver.exe%22);%0A%0A%09%09FirefoxProfile ff = new FirefoxProfile();%0A%09%09ff.setPreference(%22network.proxy.type%22, ProxyType.AUTODETECT.ordinal());%0A%09%09driver = new FirefoxDriver(ff);%0A%09%09%0A%09%09return driver;%0A%09%7D%0A%09%0A%09public static void sleep() %7B%0A%09%09try %7B%0A%09%09%09TimeUnit.SECONDS.sleep(5);%0A%09%09%7D catch (InterruptedException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%7D%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09System.out.println(%22Start demo spring boot application 01%22);%0A%09%09driver = getWebDriver();%0A%09%09%0A%09%09//show spring boot main page%0A%09%09new SpringApplicationMainPage(driver);%0A%09%09sleep();%09%09%0A%09%09%0A%09%09//show spring boot metric -%3E nothing%0A%09%09new SpringApplicationMetricsPage(driver);%0A%09%09sleep();%0A%09%09%0A%09%09//show prometheus page ??%0A%09%09%0A%09%09%0A%09%09//end page%0A%09%09driver.close();%0A%09%09System.out.println(%22End demo spring boot application 01%22);%0A%09%7D%0A%0A%7D%0A

add demo script for springboot application01