Skip to content

sakonachhoeurng/behat-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install behat on Window 10

Prerequisites

1. Git Bash
2. Chrome Driver 2.35
3. Selenium 3.9.0
4. Composer
5. Xampp with PHP 7.0

Step to add behat

  1. Install behat through composer.json

    "behat/behat": "~3.0",
    "behat/mink-goutte-driver": "1.2.1",
    "behat/mink-selenium2-driver": "~1.3.1",
    "behat/mink-extension": "~2.3@dev",
    "emuse/behat-html-formatter": "dev-master"

Run Behat Test

Trouble Shooting

  1. Go to this file vendor\behat\mink-extension\src\Behat\MinkExtension\ServiceContainer\Driver\Selenium2Factory.php

  2. Change this below line

    ->booleanNode('marionette')->defaultFalse()->end()
    ->booleanNode('marionette')->defaultNull()->end()

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published