Changing selector in TestClick

This commit is contained in:
Kenneth Shaw 2017-02-22 16:10:42 +07:00
parent a2966fde60
commit 092361d170

View File

@ -601,7 +601,7 @@ func TestClick(t *testing.T) {
t.Fatalf("got error: %v", err)
}
err = c.Run(defaultContext, WaitVisible("#logo > img", ByQuery))
err = c.Run(defaultContext, WaitVisible("#logo", ByID))
if err != nil {
t.Fatalf("got error: %v", err)
}