ComenzarEmpieza gratis

Find a more elegant XPATH alternative

Given the rather verbose CSS selector ul.list > li:nth-child(5), ul.list > li:last-child, ul.list > li.special, what's a possible XPATH alternative that selects exactly the same elements? Assume that ul.list has six li children in total.

Este ejercicio forma parte del curso

Web Scraping in R

Ver curso

Ejercicio interactivo práctico

Pon en práctica la teoría con uno de nuestros ejercicios interactivos

Empezar ejercicio