Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated README

  • Loading branch information...
commit 26b2893fd76945691c6dbe839ab312b5683db80b 1 parent 7bcfec0
@everzet everzet authored
Showing with 7 additions and 24 deletions.
  1. +7 −24 README.md
View
31 README.md
@@ -1,10 +1,12 @@
-Behat\Mink
-==========
+Mink
+====
-* The main website with documentation is at [http://behat.org](http://behat.org)
+* The main website with documentation is at
+[http://mink.behat.org](http://mink.behat.org)
+* Official user group is at [Google Groups](http://groups.google.com/group/behat)
-Usage
------
+Usage Example
+-------------
``` php
<?php
@@ -44,25 +46,6 @@ $mink->getSession('goutte1')->getPage()->findLink('Chat')->click();
$mink->getSession('goutte2')->getPage()->findLink('Chat')->click();
```
-Existing Sahi session usage
----------------------------
-
-Everytime Mink inits SahiDriver - it tries to connect to the browser with specific SID and if it can't - it starts new browser automatically. It means, that if you run ANY browser before starting mink and point it to page with correct SID - SahiDriver will use this browser as tests aim. But! By default, SahiDriver will automatically generate unique SID. You can change this behavior with third parameter to SahiDriver, which should be `Behat\SahiClient\Client` instance:
-
-``` php
-<?php
-
-$client = new \Behat\SahiClient\Client(new \Behat\SahiClient\Connection('SAHI_SID'));
-$mink->registerSession('sahi_custom', new Session(new SahiDriver($startUrl, 'firefox', $client)));
-```
-
-`SAHI_SID` could be any unique string.
-Now just configure proxy settings in needed browser and point it to:
-
- http://sahi.example.com/_s_/dyn/Driver_start?sahisid=SAHI_SID&startUrl=http://sahi.example.com/_s_/dyn/Driver_initialized
-
-This way you could test your sites on iOS or Android or WinPhone devices.
-
Copyright
---------
Please sign in to comment.
Something went wrong with that request. Please try again.