package com.alura.appium.AluraAppium;
import static org.junit.Assert.assertTrue;
import java.net.MalformedURLException;
import org.junit.Test;
import io.appium.java_client.AppiumDriver;
public class FeatureCadastro {
@Test
public void nao_consigo_cadastra_usuario_com_senha_que_nao_conferem() throws MalformedURLException
{
AppiumDriverConfig driver = new AppiumDriverConfig();
MobileElement BotaoCadastro = (MobileElement)driver.driver.findElemenById
("br.com.alura.aluraesporte:id/login_botao_cadastrar_usuario");
BotaoCadastro.click();
assertTrue( true );
}
}
Quando eu utilizo o WebElement vai