Install libhtml-selector-xpath-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libhtml-selector-xpath-perl
Description:
module for compiling CSS Selectors to XPath
HTML::Selector::XPath is a Perl module that provides simple utility functions for compiling CSS Selectors to the equivalent XPath expression. It provides full support for CSS2 and partial support for CSS3 selectors.
Homepage: https://metacpan.org/release/HTML-Selector-XPath
Version: 0.23-1
Section: universe/perl