webdriver/driver_test.go
2023-12-10 19:09:23 +01:00

19 lines
254 B
Go

package webdriver
import (
"testing"
)
func TestDriver(t *testing.T) {
driver, err := NewDriver()
if err != nil {
t.Fatal(err)
}
defer driver.Close()
if err := driver.NewSession(); err != nil {
t.Fatal(err)
}
defer driver.CloseSession()
}