refactor: close popup handler

This commit is contained in:
lilong.129
2023-09-22 14:15:55 +08:00
parent fa34cd9a8f
commit 27297da8d3
8 changed files with 90 additions and 93 deletions

View File

@@ -116,6 +116,9 @@ type DriverExt struct {
// funplugin
plugin funplugin.IPlugin
// cache last popup to check if popup handle result
lastPopup *PopupInfo
}
func newDriverExt(device Device, driver WebDriver, plugin funplugin.IPlugin) (dExt *DriverExt, err error) {