mercredi 29 juin 2016

How to write if not contains for selenium?

I want to know how if y is not contain x. Can you please tell me how?

enter code hereString x = driver.get Page Source();
        String y = validation;

        if(y.contains(x){   <------ how to make this if (y not contain x)

That what i want to do.

Thanks

Aucun commentaire:

Enregistrer un commentaire