Skip to content

o3-shop/PHP-Selenium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Selenium library

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages