PHPackages                             hyperia/highlight-ception - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. hyperia/highlight-ception

ActiveLibrary

hyperia/highlight-ception
=========================

User highlight text or elements for Codeception.

1.3.0(8y ago)71.5k1[1 issues](https://github.com/hyperia-sk/highlight-ception/issues)MITPHPPHP &gt;=5.4.0

Since Aug 13Pushed 8y ago2 watchersCompare

[ Source](https://github.com/hyperia-sk/highlight-ception)[ Packagist](https://packagist.org/packages/hyperia/highlight-ception)[ Docs](https://github.com/hyperia-sk/highlight-ception)[ RSS](/packages/hyperia-highlight-ception/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

Highlight css element, text or xpath - codecept module
======================================================

[](#highlight-css-element-text-or-xpath---codecept-module)

[![Build Status](https://camo.githubusercontent.com/b9f4f0b967e540d22e3aac9d25f1f0fd1afe471816edae8f75d087cdff749099/68747470733a2f2f7472617669732d63692e6f72672f687970657269612d736b2f686967686c696768742d63657074696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/hyperia-sk/highlight-ception)[![GitHub license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://raw.githubusercontent.com/hyperia-sk/highlight-ception/master/LICENSE)[![Latest Stable Version](https://camo.githubusercontent.com/3ad3f9387a558f785b28b50175bbbfbd6d76c79b0cf2dc23cd172f2d46e0634c/68747470733a2f2f706f7365722e707567782e6f72672f687970657269612f686967686c696768742d63657074696f6e2f762f737461626c65)](https://packagist.org/packages/hyperia/highlight-ception)

This module can be used to display the current representation of **css element**, **text** or **xpath** on a website with an expected. It was written on the shoulders of codeception and integrates in a very easy way.

[![screenshot from 2017-08-13 15-20-53](https://user-images.githubusercontent.com/6382002/29250010-0bdb3cf6-803b-11e7-92af-f666caf497e4.png)](https://user-images.githubusercontent.com/6382002/29250010-0bdb3cf6-803b-11e7-92af-f666caf497e4.png)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require hyperia/highlight-ception:"^1.1"
```

or add

```
"hyperia/highlight-ception": "^1.1"

```

to the require section of your composer.json.

Configuration (usage)
---------------------

[](#configuration-usage)

enable `HighlightCeption` module in `acceptance.suite.yml` config file:

```
modules:
    enabled:
        - WebDriver:
            url: http://hyperia.sk
            browser: chrome
        - HighlightCeption:
            module: WebDriver
            timeWait: 2
            cssClassName: 'hyperia-hc'
            cssStyle:
                background-color: yellow
                color: black
```

### Parameter description

[](#parameter-description)

- **module** - module responsible for browser interaction, default: WebDriver.
- **timeWait** - wait seconds between `see`, `seeLink`, `seeElements`, `seeInField`, `click`, `clickWithLeftButton` and `clickWithRightButton` functions
- **cssClassName** - css class name to use for css style we inject in page
- **cssStyle** - your custom css style for highlight element or text on a site

Requirements
------------

[](#requirements)

HighlightCeption needs the following components to run:

- Codeception HighlightCeption is a module for **Codeception**. It will need a running version of this tool.
- **WebDriver module** This tool only works with the webdriver module in Codeception at the moment.

Tests
-----

[](#tests)

```
./vendor/bin/codecept run -- -c test/integration
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Total

7

Last Release

3156d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1e82cda3aa17892f259c23e39677d036f160ca33672df962fd374a8595ec053?d=identicon)[hyperia-sk](/maintainers/hyperia-sk)

---

Top Contributors

[![arzzen](https://avatars.githubusercontent.com/u/6382002?v=4)](https://github.com/arzzen "arzzen (21 commits)")

---

Tags

codeceptcodecept-highlightcodeceptioncodeception-module

### Embed Badge

![Health badge](/badges/hyperia-highlight-ception/health.svg)

```
[![Health](https://phpackages.com/badges/hyperia-highlight-ception/health.svg)](https://phpackages.com/packages/hyperia-highlight-ception)
```

###  Alternatives

[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)[codeception/module-asserts

Codeception module containing various assertions

8550.6M1.2k](/packages/codeception-module-asserts)[codeception/lib-innerbrowser

Parent library for all Codeception framework modules and PhpBrowser

8641.7M77](/packages/codeception-lib-innerbrowser)[codeception/module-phpbrowser

Codeception module for testing web application over HTTP

6529.8M508](/packages/codeception-module-phpbrowser)[codeception/module-rest

REST module for Codeception

5927.8M213](/packages/codeception-module-rest)[codeception/module-symfony

Codeception module for Symfony framework

949.4M95](/packages/codeception-module-symfony)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
