rattananen/webdriver 问题修复 & 功能扩展

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

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

rattananen/webdriver

最新稳定版本:v1.2.0

Composer 安装命令:

composer require rattananen/webdriver

包简介

PHP library that implement W3C WebDriver protocol.

README 文档

README

This library is implementation for W3C WebDriver protocol. Currently, support only ChromeDriver but there is plan to support other in future.

Features

  • Use modern/forgotten programming techniques to make easier for development application by this library.
  • IDE friendly.
  • Implement all W3C WebDriver Endpoints mean you can control browser with fully protocol's capacity.

Requirement

  • PHP 8.1+
  • Google Chrome 106+
  • ChromeDriver version that compactible with Google Chrome

Installation

Best way is install via composer

composer require rattananen/webdriver

⚠️ This package has optional dependencies. They will missing when you install composer with --no-dev parameter. You can use composer require package/missing to install them if need.

Examples

See examples.md.

Know issues

  • Firefox find element for shadow root doesn't implement yet (geckodriver 0.32.2)
  • Firefox doesn't implement accessibility endpoints (computed role, computed label) for element yet (geckodriver 0.32.2)
  • Firefox create new session is slow (geckodriver 0.32.2)
  • GoogleChrome return alert message {Alert text : in unhandle alert reponse when alert without message argument (ChromeDriver 106.0.5249.61)
  • GoogleChrome duration in scroll action does wrong behevior. It's waiting time for return response instead of time for scrolling. (ChromeDriver 106.0.5249.61)

Contributing

See CONTRIBUTING.md.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-12