定制 blackakula/wdebug 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

blackakula/wdebug

Composer 安装命令:

composer require blackakula/wdebug

包简介

PHP Webdriver Debugger

README 文档

README

Description

WDebug was developed to simplify writing, supporting and debugging locators (xpath, css selector, etc) for webdriver.

With this tool you can add, edit and remove locators during your automation script execution. Integrate tool with your framework - and you'll be able to save changed locators.

Tool uses facebook/webdriver bindings for PHP.

See WDebug tool integrated with custom framework in action on youtube: http://www.youtube.com/watch?v=0-PTAFEce60.

Installation

  1. git clone https://github.com/blackakula/wdebug.git

  2. If you are using Packagist, add the dependency. https://packagist.org/packages/blackakula/wdebug

    {
      "require": {
        "blackakula/wdebug": "1.*"
      }
    }
    
  3. Start using facebook/webdriver

  4. See example.php for usage sample.

Features

See the video for functional abilities.

Tool consists of one class with 3 public methods

  • setStyle(), deleteStyle() are used to prepare custom styles for highlighting page elements.
  • execute() starts debugging tool: show popup and wait for user actions until popup is closed. Here you can pass callback on all user actions (add/delete locator/placeholder) to integrate tool with your custom framework. Interface of callback: function($type, array $data). See sample in example.php script.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: OSL
  • 更新时间: 2013-10-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固