oxid-esales/php-selenium 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

oxid-esales/php-selenium

最新稳定版本:v1.1.1

Composer 安装命令:

composer require oxid-esales/php-selenium

包简介

PHP Library for Selenium

关键字:

README 文档

README

DEPRECATED

This library is deprecated, because it relies on Selenium1 protocol, a very old protocol. No support will be provided for this repository. If you want to continue using it, please fork it and maintain it on your own.

You can also consider migrating to Facebook PHP-WebDriver: https://github.com/facebook/php-webdriver

Description

Selenium is a tool for web test automation. This library is a client of the Selenium Server for PHP.

It provides a fluid interface with autocompletion and documentation in modern IDEs.

<?php
  // ...
  $browser
      ->open('/')
      ->click(Selenium\Locator::linkContaining('Blog'))
      ->waitForPageToLoad()
  ;

  echo $browser->getTitle();

Requirements

To use this library you will need :

  • PHP 5.3
  • A Selenium Server

Dependencies

2 dependencies are present in sub-modules :

  • Symfony2 DomCrawler : used for generating the Browser class
  • Symfony2 ClassLoader : used in autoload.php

It's up to you to decide how to use it.

How to include it ?

To make it work, you just need to add the classes to your autoloader.

If you have no existing autoloader, include autoload.php

How to use it ?

Take a look at examples in test/ folder.

References

统计信息

  • 总下载量: 367.61k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 11
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-04-27