lundi 2 avril 2018

How to check if a href element find in geb

I try to click html css 'a' but I cant access to it. How can I to do?

at test waitFor { myelement.displayed } myelement.click()

class test extends Page {

static at = { title == "test page" }
static content = {
    myelement {$("a", id: "myid")}
}

}

Aucun commentaire:

Enregistrer un commentaire