appdevl/phpunit-selenium2-adapter 问题修复 & 功能扩展

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

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

appdevl/phpunit-selenium2-adapter

Composer 安装命令:

composer require appdevl/phpunit-selenium2-adapter

包简介

README 文档

README

Description

Implements adapter for migration from PHPUnit_Extensions_SeleniumTestCase to PHPUnit_Extensions_Selenium2TestCase.

If user's TestCase class is implemented with old format (with commands like open, type, waitForPageToLoad), it should extend Selenium2WithAdapterTestCase for Selenium 2 WebDriver support.

Restrictions

It does not work properly with javascript actions. You have to rewrite you test code with WaitUntil if you use click with ajax actions or click with visibility changes. It makes this Selenium2WithAdapterTestCase useless.

Implemented methods

Class provides bindings for methods:

  • open
  • type
  • click
  • select
  • isTextPresent
  • isElementPresent
  • getText

License

Copyright 2013 Roman Nix
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Apache
  • 更新时间: 2015-06-23