You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package hackbrowserdata
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestChromium_Init(_ *testing.T) {
|
|
|
|
}
|
|
|
|
|
|
|
|
func BenchmarkChromium_Init(b *testing.B) {
|
|
|
|
chromium := browsers[Chrome]
|
|
|
|
for i := 0; i < b.N; i++ {
|
|
|
|
if err := chromium.Init(); err != nil {
|
|
|
|
b.Fatal(err)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|