PHPackages                             razielsd/phpselenide - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. razielsd/phpselenide

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

razielsd/phpselenide
====================

Selenide for php

0.5.0(8y ago)83.4k2MITPHP

Since Oct 31Pushed 8y ago4 watchersCompare

[ Source](https://github.com/razielsd/phpSelenide)[ Packagist](https://packagist.org/packages/razielsd/phpselenide)[ RSS](/packages/razielsd-phpselenide/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (33)Used By (0)

phpSelenide
===========

[](#phpselenide)

[![License](https://camo.githubusercontent.com/f252cc3f6f04beea7d54132815e000adf4c731bfe45054de84e8ae4d3e53e291/68747470733a2f2f706f7365722e707567782e6f72672f72617a69656c73642f70687073656c656e6964652f6c6963656e7365)](https://packagist.org/packages/razielsd/phpselenide)[![Build Status](https://camo.githubusercontent.com/a5e2af38093aa8db7ff6ddedbd1733ea081ea54f0f95ec4d81fe2c90daaca7d3/68747470733a2f2f7472617669732d63692e6f72672f72617a69656c73642f70687053656c656e6964652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/razielsd/phpSelenide)[![Code Climate](https://camo.githubusercontent.com/dc3ce21cc59bc85e8f25eb40f0c4b2413348821719036f0007cc53d5e6b92780/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f72617a69656c73642f70687053656c656e6964652f6261646765732f6770612e737667)](https://codeclimate.com/github/razielsd/phpSelenide)[![Test Coverage](https://camo.githubusercontent.com/141694219f801c0d290deb014e1327c41376aee256cdd91e7157e1247024e0a2/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f72617a69656c73642f70687053656c656e6964652f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/razielsd/phpSelenide/coverage)[![Latest Stable Version](https://camo.githubusercontent.com/cb3d5806e13af0a744d9b8cc7322049cb81b42ea68ce0a61c51bfdd187a69688/68747470733a2f2f706f7365722e707567782e6f72672f72617a69656c73642f70687073656c656e6964652f762f737461626c65)](https://packagist.org/packages/razielsd/phpselenide)[![Total Downloads](https://camo.githubusercontent.com/30fc52a08e2e720dff76c4f5f38794bf1a9538a5aabaffb636e7b625934e9606/68747470733a2f2f706f7365722e707567782e6f72672f72617a69656c73642f70687073656c656e6964652f646f776e6c6f616473)](https://packagist.org/packages/razielsd/phpselenide)

Install
-------

[](#install)

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

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

```

Update composer:

```
composer install

```

How to test
-----------

[](#how-to-test)

- composer install
- make fulltest

Other options you can see in Makefile or run `make`

Collection
----------

[](#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

[](#switchto)

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

Condition list
--------------

[](#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
----

[](#todo)

- Element locator for assertion error

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~8 days

Recently: every ~36 days

Total

32

Last Release

3237d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5117fc7658c991a3380f39b0e292c0f1f9d0742775f92a3420d597364e9d8a87?d=identicon)[razielsd](/maintainers/razielsd)

---

Top Contributors

[![razielsd](https://avatars.githubusercontent.com/u/2689705?v=4)](https://github.com/razielsd "razielsd (30 commits)")[![Enapiuz](https://avatars.githubusercontent.com/u/3235481?v=4)](https://github.com/Enapiuz "Enapiuz (29 commits)")[![remorhaz](https://avatars.githubusercontent.com/u/13167914?v=4)](https://github.com/remorhaz "remorhaz (1 commits)")

---

Tags

seleniumselenide

### Embed Badge

![Health badge](/badges/razielsd-phpselenide/health.svg)

```
[![Health](https://phpackages.com/badges/razielsd-phpselenide/health.svg)](https://phpackages.com/packages/razielsd-phpselenide)
```

###  Alternatives

[element-34/php-webdriver

Thin php client for webdriver

121233.8k1](/packages/element-34-php-webdriver)[browserstack/browserstack-local

PHP bindings for BrowserStack Local

151.6M6](/packages/browserstack-browserstack-local)[lbaey/chromedriver

Utility for installing Chromedriver, whatever platform you are on, for use with Behat

1459.5k1](/packages/lbaey-chromedriver)

PHPackages © 2026

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