Skip to content

Geckodriver 0.24.0  #654

@luckyraul

Description

@luckyraul

What are you trying to achieve? (Expected behavior)

Test Firefox with Codeception

What do you get instead? (Actual behavior)

SessionID Is Null

How could the issue be reproduced? (Steps to reproduce)

Geckodriver 0.24.0, Codeception 3.0.2, facebook/webdriver 1.7.1

Details Geckodriver logs

1564127990035	webdriver::server	DEBUG	<- 200 OK {"value":{"sessionId":"5492b5ae-cc46-f641-8f9a-4c868cdd608e","capabilities":{"acceptInsecureCerts":false,"browserName":"firefox","browserVersion":"68.0.1","moz:accessibilityChecks":false,"moz:buildID":"20190717172542","moz:geckodriverVersion":"0.24.0","moz:headless":false,"moz:processID":1115,"moz:profile":"/var/folders/xt/8b1hm05j32vc19t4cc1xnt0m0000gp/T/rust_mozprofile.bOTneERvRiUa","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"pageLoadStrategy":"normal","platformName":"mac","platformVersion":"18.6.0","rotatable":false,"setWindowRect":true,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"unhandledPromptBehavior":"dismiss and notify"}}}

Here https://github.com/facebook/php-webdriver/blob/community/lib/Remote/HttpCommandExecutor.php#L324 sessionID is returning not as $result['sessionId']. It contains in the $result['value']['sessionId'].
Then sessionId is still null and we have GET /session//screenshot 404

  • Php-webdriver version: 1.7.1
  • PHP version: 7.1
  • Selenium server version:
  • Operating system: OsX
  • Browser used + version: Firefox 68

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions