We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e60018 commit b756195Copy full SHA for b756195
lib/WebDriver/Element.php
@@ -113,7 +113,7 @@ public function getID()
113
/**
114
* Get the value of an element's attribute: /session/:sessionId/element/:id/attribute/:name
115
*
116
- * @param string name
+ * @param string $name
117
118
* @return mixed
119
*/
lib/WebDriver/Session.php
@@ -134,7 +134,7 @@ public function open($url)
134
135
public function capabilities()
136
{
137
- if (! isset($this->capabilities)) {
+ if ($this->capabilities === null) {
138
$result = $this->curl('GET', '');
139
140
$this->capabilities = $result['value'];
0 commit comments