mynethome.de

Archiv des Schlagworts(Tags) ‘Selenium’

Mittwoch, den 10. Juni 2015

Browser UI Testing with Geb: Select first element of <select> dropdown

Another short note regarding browser automation / web testing with geb: If you want to select the first element of a dropdown element (aka <select>) but you don’t know the title nor the label as the element are fetched from the volatile test-env database, this might help: new Select($(„select#ImportantEntity“).firstElement()).selectByIndex(1) It works by combining the geb […]

mynethome.de wird erstellt mit WordPress
Beiträge (RSS) und Kommentare (RSS)

(c) 2005 - 2023 Markus Schlichting - Mastodon