22 lines
395 B
Go
22 lines
395 B
Go
// Package util ...
|
|
//
|
|
// Description : util ...
|
|
//
|
|
// Author : go_developer@163.com<白茶清欢>
|
|
//
|
|
// Date : 2023-01-24 16:16
|
|
package util
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/tebeka/selenium"
|
|
)
|
|
|
|
func TestNewChrome(t *testing.T) {
|
|
|
|
cookieList := make([]*selenium.Cookie, 0)
|
|
instance, _ := NewChrome("/Users/zhangdeman/Downloads/chromedriver", 9515, false, nil)
|
|
instance.Render(cookieList)
|
|
}
|