所以我需要在 app.properties 文件中设置一个文件夹路径名值。我还想以当前时间戳命名它,这样当它用于创建文件时,它也会创建文件夹。我目前拥有的不起作用。
screenshot.events = STARTED,SUCCEEDED,FAILED,STEP screenshot.path = C:/Automation/${timestamp} webdriver.type=CHROME
java spring timestamp properties spring-boot
java ×1
properties ×1
spring ×1
spring-boot ×1
timestamp ×1