webdriver/driver_test.go

19 lines
254 B
Go
Raw Normal View History

2023-12-10 19:09:23 +01:00
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()
}