Closed mvorisek closed 2 years ago
Fix release, https://github.com/instaclick/php-webdriver/commit/8bb204d82c323fe1ccd308861045422eaa315a07 refactoring has broken the Session::{execute, execute_async} methods.
parent::execute($jsonScript) is equivalent to: $this->curl('POST', '/execute', $jsonScript)['value']not$this->curl('POST', '/execute', $jsonScript)
parent::execute($jsonScript)
$this->curl('POST', '/execute', $jsonScript)['value']
$this->curl('POST', '/execute', $jsonScript)
tested /w https://github.com/instaclick/php-webdriver/pull/110#issuecomment-1099634396 example, ideally such example should be added to tests
Thanks again.
Fix release, https://github.com/instaclick/php-webdriver/commit/8bb204d82c323fe1ccd308861045422eaa315a07 refactoring has broken the Session::{execute, execute_async} methods.
parent::execute($jsonScript)
is equivalent to:$this->curl('POST', '/execute', $jsonScript)['value']
not
$this->curl('POST', '/execute', $jsonScript)
tested /w https://github.com/instaclick/php-webdriver/pull/110#issuecomment-1099634396 example, ideally such example should be added to tests