To install Selenium::Remote::Driver::UserAgent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Selenium::Remote::Driver::UserAgent
CPAN shell
perl -MCPAN -e shell
install Selenium::Remote::Driver::UserAgent
For more information on module installation, please visit the detailed CPAN module installation guide.