fix: 修复没有自动创建result文件夹

This commit is contained in:
余泓铮
2024-08-06 14:38:52 +08:00
parent b5057d0810
commit df2e971757
3 changed files with 25 additions and 14 deletions

View File

@@ -156,7 +156,7 @@ type DriverExt struct {
}
func newDriverExt(device Device, driver WebDriver, options ...DriverOption) (dExt *DriverExt, err error) {
driverOptions := &DriverOptions{}
driverOptions := NewDriverOptions()
for _, option := range options {
option(driverOptions)
}