Skip to content

Commit eeba22d

Browse files
authored
Merge pull request #46 from dunglas/insight
Add SensioLabs Insight
2 parents 154c4a1 + 2145d4e commit eeba22d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
[![Build Status](https://travis-ci.org/symfony/panthere.svg?branch=master)](https://travis-ci.org/symfony/panthere)
66
[![Build status](https://ci.appveyor.com/api/projects/status/bunoc4ufud4oie45?svg=true)](https://ci.appveyor.com/project/fabpot/panthere)
7+
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/9ea7e78c-998a-4489-9815-7449ce8291ef/mini.png)](https://insight.sensiolabs.com/projects/9ea7e78c-998a-4489-9815-7449ce8291ef)
78

89
*Panthère* is a convenient standalone library to scrape websites and to run end-to-end tests **using real browsers**.
910

src/Cookie/CookieJar.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ private function symfonyToWebDriver(Cookie $cookie): WebDriverCookie
100100
$webDriverCookie = new WebDriverCookie($cookie->getName(), $cookie->getValue());
101101

102102
if ('' !== $domain = $cookie->getDomain()) {
103-
$webDriverCookie->setDomain($cookie->getDomain());
103+
$webDriverCookie->setDomain($domain);
104104
}
105105

106106
if (null !== $expiresTime = $cookie->getExpiresTime()) {
107-
$webDriverCookie->setExpiry((int) $cookie->getExpiresTime());
107+
$webDriverCookie->setExpiry((int) $expiresTime);
108108
}
109109

110110
if ('/' !== $path = $cookie->getPath()) {

0 commit comments

Comments
 (0)