2017 © Pedro Peláez
 

library highlight-ception

User highlight text or elements for Codeception.

image

hyperia/highlight-ception

User highlight text or elements for Codeception.

  • Monday, January 8, 2018
  • by hyperia-sk
  • Repository
  • 3 Watchers
  • 7 Stars
  • 1,249 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 7 % Grown

The README.md

Highlight css element, text or xpath - codecept module

Build Status GitHub license Latest Stable Version, (*1)

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., (*2)

screenshot from 2017-08-13 15-20-53, (*3)

Installation

The preferred way to install this extension is through composer., (*4)

Either run, (*5)

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

or add, (*6)

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

to the require section of your composer.json., (*7)

Configuration (usage)

enable HighlightCeption module in acceptance.suite.yml config file:, (*8)

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

  • 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

HighlightCeption needs the following components to run:, (*9)

  • 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

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

The Versions

08/01 2018

dev-master

9999999-dev https://github.com/hyperia-sk/highlight-ception

User highlight text or elements for Codeception.

  Sources   Download

MIT

The Requires

 

26/09 2017

1.3.0

1.3.0.0 https://github.com/hyperia-sk/highlight-ception

User highlight text or elements for Codeception.

  Sources   Download

MIT

The Requires

 

19/09 2017

1.2.0

1.2.0.0 https://github.com/hyperia-sk/highlight-ception

User highlight text or elements for Codeception.

  Sources   Download

MIT

The Requires

 

08/09 2017

1.1.2

1.1.2.0 https://github.com/hyperia-sk/highlight-ception

User highlight text or elements for Codeception.

  Sources   Download

MIT

The Requires

 

21/08 2017

1.1.1

1.1.1.0 https://github.com/hyperia-sk/highlight-ception

User highlight text or elements for Codeception.

  Sources   Download

MIT

The Requires

 

18/08 2017

1.1.0

1.1.0.0 https://github.com/hyperia-sk/highlight-ception

User highlight text or elements for Codeception.

  Sources   Download

MIT

The Requires

 

14/08 2017

1.0.1

1.0.1.0 https://github.com/hyperia-sk/highlight-ception

User highlight text or elements for Codeception.

  Sources   Download

MIT

The Requires

 

13/08 2017

1.0.0

1.0.0.0 https://github.com/hyperia-sk/highlight-ception

User highlight text or elements for Codeception.

  Sources   Download

MIT

The Requires