From afa157a57df33990e2b2d70c9591c4fea2c97453 Mon Sep 17 00:00:00 2001 From: Stanislav Popov Date: Sun, 27 Sep 2015 05:57:11 +0500 Subject: [PATCH] Replaced close() to quit() in tearDown() https://github.com/DavertMik/php-webdriver-demo/pull/1 --- .../2013-11-12-working-with-phpunit-and-selenium-webdriver.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/2013-11-12-working-with-phpunit-and-selenium-webdriver.md b/_posts/2013-11-12-working-with-phpunit-and-selenium-webdriver.md index f87d165f3..9aa28e55e 100644 --- a/_posts/2013-11-12-working-with-phpunit-and-selenium-webdriver.md +++ b/_posts/2013-11-12-working-with-phpunit-and-selenium-webdriver.md @@ -144,7 +144,7 @@ class GitHubTest extends PHPUnit_Framework_TestCase { public function tearDown() { - $this->webDriver->close(); + $this->webDriver->quit(); } } ?> @@ -419,4 +419,4 @@ So you did notice that this is Codeception blog. But we didn't use [Codeception No matter you are using Codeception or not it is a good idea to understand how to perform browser based acceptance testing using just the php-webdriver by itself. Php-webdriver library provides very clean and flexible APIs you will enjoy working with. -PHP is a language popular for web development, but not for web testing. Test automation engineers prefer Java and Ruby over it. And there is a serious reason for that. There is no such thing like "official Selenium bindings" for PHP, i.e. there is no Selenium client library for PHP created by Selenium team. Developers of [php-webdriver](https://github.com/facebook/php-webdriver) get very close to the official Selenium client APIs. That's why you should use php-webdriver - it really feels and works like native and official Selenium libraries. That is especially important if you have an experience writing acceptance tests in Java or Ruby. Moving to PHP is not that hard, when all the APIs are the same. \ No newline at end of file +PHP is a language popular for web development, but not for web testing. Test automation engineers prefer Java and Ruby over it. And there is a serious reason for that. There is no such thing like "official Selenium bindings" for PHP, i.e. there is no Selenium client library for PHP created by Selenium team. Developers of [php-webdriver](https://github.com/facebook/php-webdriver) get very close to the official Selenium client APIs. That's why you should use php-webdriver - it really feels and works like native and official Selenium libraries. That is especially important if you have an experience writing acceptance tests in Java or Ruby. Moving to PHP is not that hard, when all the APIs are the same. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy