2017 © Pedro Peláez
 

library phpselenide

Selenide for php

image

razielsd/phpselenide

Selenide for php

  • Monday, July 17, 2017
  • by razielsd
  • Repository
  • 4 Watchers
  • 8 Stars
  • 3,383 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 33 Versions
  • 0 % Grown

The README.md

phpSelenide

License Build Status Code Climate Test Coverage Latest Stable Version Total Downloads, (*1)

Install

Add to composer.json razielsd/phpselenide, example:, (*2)

{
    "name": "my project",
    "description": "Selenide example",
    "require": {
        "razielsd/phpselenide": "~0.3"
    }

Update composer:, (*3)

composer install

How to test

  • composer install
  • make fulltest

Other options you can see in Makefile or run make, (*4)

Collection

  • find(By $locator) - поиск одного элемента
  • findAll(By locator) - поиск множества элементов
  • click() - клик по элементу
  • doubleClick() - двойной клик по элементу
  • exists() - проверяет существование элемента на странице
  • isDisplayed() - проверяет, что элемент виден на странице
  • attribute($attrName) - получить значение атрибута элемента
  • val() - получить значение элемента (для input - @value, для select - @value выбранного option)
  • get($index) - получить элемент коллекции
  • getCollection() - получить все найденные элементы
  • getCollectionNotEmpty - получить все найденные элементы, с проверкой что хотя бы один элемент найден
  • source() - получить html-код элемента
  • execute($javascript) - выполнить javascript, в параметре arguments(массив) будут элементы коллекции
  • switchTo - переключение контекста

switchTo

  • defaultContent() - вернуть фокус в основное окно
  • frame(By $locator) - выбрать фрейм

Condition list

  • size($size)
  • sizeGreaterThen($size)
  • sizeGreaterThenOrEqual($size)
  • sizeLessThen($size)
  • sizeLessThenOrEqual($size)
  • text($text)
  • withText($text)
  • value($value)
  • attribute($attrName, $value)
  • visible()
  • checked()
  • enabled()
  • child(By $locator)

ToDo

  • Element locator for assertion error

The Versions

17/07 2017

dev-master

9999999-dev

Selenide for php

  Sources   Download

MIT

The Requires

 

The Development Requires

selenium selenide

04/07 2017

0.5.0

0.5.0.0

Selenide for php

  Sources   Download

MIT

The Requires

 

The Development Requires

selenium selenide

12/04 2017

0.4.0

0.4.0.0

Selenide for php

  Sources   Download

MIT

The Requires

 

The Development Requires

selenium selenide

11/04 2017

0.3.7

0.3.7.0

Selenide for php

  Sources   Download

MIT

The Requires

 

The Development Requires

selenium selenide

11/04 2017

0.3.6

0.3.6.0

Selenide for php

  Sources   Download

MIT

The Requires

 

The Development Requires

selenium selenide

08/02 2017

0.3.5

0.3.5.0

Selenide for php

  Sources   Download

MIT

The Requires

 

The Development Requires

selenium selenide

20/12 2016

0.3.4

0.3.4.0

Selenide for php

  Sources   Download

MIT

The Requires

 

The Development Requires

selenium selenide

13/12 2016

0.3.3

0.3.3.0

Selenide for php

  Sources   Download

MIT

The Requires

 

The Development Requires

selenium selenide

12/12 2016

0.3.2

0.3.2.0

Selenide for php

  Sources   Download

MIT

The Requires

 

The Development Requires

selenium selenide

30/11 2016

0.3.1

0.3.1.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

29/11 2016

0.3.0

0.3.0.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

22/11 2016

0.2.14

0.2.14.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

22/11 2016

0.2.13

0.2.13.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

22/11 2016

0.2.12

0.2.12.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

21/11 2016

0.2.11

0.2.11.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

20/11 2016

0.2.10

0.2.10.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

17/11 2016

0.2.9

0.2.9.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

16/11 2016

0.2.8

0.2.8.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

16/11 2016

0.2.7

0.2.7.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

15/11 2016

0.2.6

0.2.6.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

14/11 2016

0.2.5

0.2.5.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

14/11 2016

0.2.4

0.2.4.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

10/11 2016

0.2.3

0.2.3.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

10/11 2016

0.2.2

0.2.2.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

09/11 2016

0.2.1

0.2.1.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

09/11 2016

0.2.0

0.2.0.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

04/11 2016

0.1.7

0.1.7.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

03/11 2016

0.1.6

0.1.6.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

03/11 2016

0.1.5

0.1.5.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

02/11 2016

0.1.4

0.1.4.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

01/11 2016

0.1.2

0.1.2.0

Selenide for php

  Sources   Download

MIT

The Requires

 

selenium selenide

31/10 2016

0.1.1

0.1.1.0

Selenide for php

  Sources   Download

MIT

The Development Requires

selenium selenide

31/10 2016

0.1.0

0.1.0.0

Selenide for php

  Sources   Download

MIT

The Development Requires

selenium selenide