You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Page elements, its values and properties are found by the corresponding framework classes (in the same way as I it works for Chrome browser).
Actual Behavior -
Firefox starts and is controlled by Selenium, but page elements are not found.
All is working under Selenium 3.8.1, with parameter '-enablePassThrough false'. But this parameter is not supported anymore for Selenium version 3.9. So, things are broken now.
looking at the error messages this is a bug in the PHP bindings, they arent inserting the element ID into the url when speaking to geckodriver. Please a raise a bug with the facebook php bindings
Meta -
OS: Ubuntu 14.04 (64-bit)
Selenium Version: 3.9.0, 3.9.1
Browser: Firefox
Browser Version: 57, 58
Programming language: PHP: 7.0
Testing Framework: PHPUnit 6.4
PHP Webdriver Client: facebook/webdriver 1.5
Webdriver: Geckodriver 0.19.1
Expected Behavior -
Page elements, its values and properties are found by the corresponding framework classes (in the same way as I it works for Chrome browser).
Actual Behavior -
Firefox starts and is controlled by Selenium, but page elements are not found.
All is working under Selenium 3.8.1, with parameter '-enablePassThrough false'. But this parameter is not supported anymore for Selenium version 3.9. So, things are broken now.
Error examples:
Build info: version: '3.9.1', revision: '63f7b50', time: '2018-02-07T22:42:28.403Z'
System info: host: 'webdev-vm', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-116-generic', java.version: '1.8.0_141'
Driver info: driver.version: unknown
Build info: version: '3.9.1', revision: '63f7b50', time: '2018-02-07T22:42:28.403Z'
System info: host: 'webdev-vm', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-116-generic', java.version: '1.8.0_141'
Driver info: driver.version: unknown
Build info: version: '3.9.1', revision: '63f7b50', time: '2018-02-07T22:42:28.403Z'
System info: host: 'webdev-vm', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-116-generic', java.version: '1.8.0_141'
Driver info: driver.version: unknown
Log:
09:38:55.791 INFO - /session: Executing POST on /session (handler: BeginSession)
09:38:55.806 INFO - Capabilities are: Capabilities {acceptInsecureCerts: true, acceptSslCerts: false, args: --ignore-ssl-errors=yes, browserName: firefox, firefox_profile: UEsDBAoAAAAAANtMWkzf9RXUMgA...}
09:38:55.806 INFO - Capabilities {acceptInsecureCerts: true, acceptSslCerts: false, args: --ignore-ssl-errors=yes, browserName: firefox, firefox_profile: UEsDBAoAAAAAANtMWkzf9RXUMgA...} matched class org.openqa.selenium.remote.server.ServicedSession$Factory (provider: org.openqa.selenium.firefox.GeckoDriverService)
1519630735814 geckodriver INFO geckodriver 0.19.1
1519630735817 geckodriver INFO Listening on 127.0.0.1:2006
1519630735934 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-profile" "/tmp/rust_mozprofile.P9RpNhYTN433"
1519630736509 Marionette INFO Enabled via --marionette
(firefox:9645): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed
(firefox:9645): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed
(firefox:9645): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed
Test Code:
$host = 'localohost:4444/wd/hub';
$capabilities = DesiredCapabilities::firefox();
$capabilities->setCapability('acceptSslCerts', false);
$capabilities->setCapability('acceptInsecureCerts', true);
$capabilities->setCapability('args', '--ignore-ssl-errors=yes');
$this->webDriver = RemoteWebDriver::create($host, $capabilities);
$this->webDriver->get($this->url); //any url
$step = $this->webDriver->findElement(WebDriverBy::cssSelector('step1'));
$this->webDriver->findElement(WebDriverBy::id('firstname'))->sendKeys('John');
The text was updated successfully, but these errors were encountered: