Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit 2aa1653

Browse files
committed
Merge pull request #106 from Montu/master
User can get current selenium sessionID
2 parents 1c80d39 + 543aa9b commit 2aa1653

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/remote/RemoteWebDriver.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,4 +372,11 @@ public function setCommandExecutor(WebDriverCommandExecutor $executor) {
372372
public function getCommandExecutor() {
373373
return $this->executor;
374374
}
375+
/**
376+
* Get current selenium sessionID
377+
* @return sessionID
378+
*/
379+
public function getSessionID() {
380+
return $this->executor->getSessionID();
381+
}
375382
}

0 commit comments

Comments
 (0)