github seleniumbase/SeleniumBase v1.36.7
SeleniumBase in Spanish

latest releases: v4.32.11, v4.32.10, v4.32.9...
4 years ago

Add a Spanish translation of SeleniumBase

  • Here's the example test:
from seleniumbase.translate.spanish import CasoDePrueba


class MiClaseDePrueba(CasoDePrueba):

    def test_ejemplo_1(self):
        self.abrir_url("https://es.wikipedia.org/wiki/")
        self.verificar_texto("Wikipedia")
        self.verificar_elemento('[title="Visitar la página principal"]')
        self.actualizar_texto("#searchInput", "Parc d'Atraccions Tibidabo")
        self.haga_clic("#searchButton")
        self.verificar_texto("Tibidabo", "#firstHeading")
        self.verificar_elemento('img[alt*="Tibidabo"]')
        self.actualizar_texto("#searchInput", "Palma de Mallorca")
        self.haga_clic("#searchButton")
        self.verificar_texto("Palma de Mallorca", "#firstHeading")
        self.verificar_elemento('img[alt*="Palma"]')
        self.volver()
        self.verificar_verdad("Tibidabo" in self.obtener_url_actual())
        self.adelante()
        self.verificar_verdad("Mallorca" in self.obtener_url_actual())

Don't miss a new SeleniumBase release

NewReleases is sending notifications on new releases.