How To Install php-phpunit-selenium on Fedora 36

In this tutorial we learn how to install php-phpunit-selenium in Fedora 36. php-phpunit-selenium is Selenium RC integration for PHPUnit 9

Introduction

In this tutorial we learn how to install php-phpunit-selenium on Fedora 36.

What is php-phpunit-selenium

This package contains a Selenium2TestCase class that can be used to run end-to-end tests against Selenium 2.

We can use yum or dnf to install php-phpunit-selenium on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-phpunit-selenium.

Install php-phpunit-selenium on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install php-phpunit-selenium using dnf by running the following command:

sudo dnf -y install php-phpunit-selenium

Install php-phpunit-selenium on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install php-phpunit-selenium using yum by running the following command:

sudo yum -y install php-phpunit-selenium

How To Uninstall php-phpunit-selenium on Fedora 36

To uninstall only the php-phpunit-selenium package we can use the following command:

sudo dnf remove php-phpunit-selenium

php-phpunit-selenium Package Contents on Fedora 36

/usr/share/doc/php-phpunit-selenium
/usr/share/doc/php-phpunit-selenium/ChangeLog.markdown
/usr/share/doc/php-phpunit-selenium/README.md
/usr/share/doc/php-phpunit-selenium/composer.json
/usr/share/licenses/php-phpunit-selenium
/usr/share/licenses/php-phpunit-selenium/LICENSE
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/Command.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/CommandsHolder.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/Driver.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/Element
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/Element.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/Element/Accessor.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/Element/Select.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/ElementCommand
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/ElementCommand/Attribute.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/ElementCommand/Click.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/ElementCommand/Css.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/ElementCommand/Equals.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/ElementCommand/GenericAccessor.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/ElementCommand/GenericPost.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/ElementCommand/Rect.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/ElementCommand/Value.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/ElementCriteria.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/Exception.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/Keys.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/KeysHolder.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/NoSeleniumException.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/Response.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/ScreenshotListener.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/Session
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/Session.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/Session/Cookie
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/Session/Cookie.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/Session/Cookie/Builder.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/Session/Storage.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/Session/Timeouts.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionCommand
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionCommand/AcceptAlert.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionCommand/Active.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionCommand/AlertText.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionCommand/Click.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionCommand/DismissAlert.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionCommand/File.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionCommand/Frame.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionCommand/GenericAccessor.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionCommand/GenericAttribute.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionCommand/Keys.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionCommand/Location.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionCommand/Log.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionCommand/MoveTo.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionCommand/Orientation.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionCommand/Url.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionCommand/Window.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionStrategy
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionStrategy.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionStrategy/Isolated.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/SessionStrategy/Shared.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/StateCommand.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/URL.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/WaitUntil.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/WebDriverException.php
/usr/share/php/PHPUnit9/Extensions/Selenium2TestCase/Window.php
/usr/share/php/PHPUnit9/Extensions/SeleniumBrowserSuite.php
/usr/share/php/PHPUnit9/Extensions/SeleniumCommon
/usr/share/php/PHPUnit9/Extensions/SeleniumCommon/ExitHandler.php
/usr/share/php/PHPUnit9/Extensions/SeleniumCommon/RemoteCoverage.php
/usr/share/php/PHPUnit9/Extensions/SeleniumCommon/append.php
/usr/share/php/PHPUnit9/Extensions/SeleniumCommon/autoload.php
/usr/share/php/PHPUnit9/Extensions/SeleniumCommon/phpunit_coverage.php
/usr/share/php/PHPUnit9/Extensions/SeleniumCommon/prepend.php
/usr/share/php/PHPUnit9/Extensions/SeleniumTestSuite.php

References

Summary

In this tutorial we learn how to install php-phpunit-selenium on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).