import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.remote.DesiredCapabilities;
public class Testa_main {
public static void main(String[] args) {
// abre firefox
System.setProperty("webdriver.gecko.driver", "/home/kevin/Área de Trabalho/geckodriver");
//Now you can Initialize marionette driver to launch firefox
DesiredCapabilities capabilities = DesiredCapabilities.firefox();
capabilities.setCapability("marionette", true);
//WebDriver driver = new MarionetteDriver(capabilities);
WebDriver driver = new FirefoxDriver(capabilities);
// acessa o site do google
driver.get("http://www.google.com.br/");
// digita no campo "q" do google
WebElement query = driver.findElement(By.name("q"));
query.sendKeys("Caelum");
// submete o form
query.submit();
}
}
(Erro que aparece no Console do Eclipse) (O programa roda, abre uma guia nova do navegador mas não digita nada, após varias pesquisas não consegui solucionar o problema por completo, se puderem ajudar, preciso terminar este curso :))
1489081999820 geckodriver INFO Listening on 127.0.0.1:12797
1489081999986 mozprofile::profile INFO Using profile path /tmp/rust_mozprofile.UMSKgPlNyzIe
1489081999988 geckodriver::marionette INFO Starting browser /usr/lib/firefox/firefox with args []
1489082000012 geckodriver::marionette INFO Connecting to Marionette on localhost:46266
(firefox:3655): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed
(firefox:3655): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed
(firefox:3655): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed
(firefox:3655): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed
1489082000220 addons.manager DEBUG Application has been upgraded
1489082000237 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]
1489082000239 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1489082000242 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/GMPProvider.jsm
1489082000244 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/PluginProvider.jsm
1489082000245 addons.manager DEBUG Starting provider: XPIProvider
1489082000245 addons.xpi DEBUG startup
1489082000246 addons.xpi INFO SystemAddonInstallLocation directory is missing
1489082000247 addons.xpi INFO Mapping e10srollout@mozilla.org to /usr/lib/firefox/browser/features/e10srollout@mozilla.org.xpi
1489082000247 addons.xpi INFO Mapping firefox@getpocket.com to /usr/lib/firefox/browser/features/firefox@getpocket.com.xpi
1489082000247 addons.xpi INFO Mapping aushelper@mozilla.org to /usr/lib/firefox/browser/features/aushelper@mozilla.org.xpi
1489082000247 addons.xpi INFO Mapping webcompat@mozilla.org to /usr/lib/firefox/browser/features/webcompat@mozilla.org.xpi
1489082000248 addons.xpi INFO Mapping langpack-en-GB@firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi
1489082000248 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to /usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
1489082000248 addons.xpi INFO Mapping langpack-pt-BR@firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-pt-BR@firefox.mozilla.org.xpi
1489082000249 addons.xpi INFO Mapping langpack-en-ZA@firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi
1489082000249 addons.xpi INFO Mapping langpack-pt-PT@firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-pt-PT@firefox.mozilla.org.xpi
1489082000249 addons.xpi DEBUG checkForChanges
1489082000250 addons.xpi DEBUG Loaded add-on state from prefs: {}
1489082000251 addons.xpi DEBUG New add-on e10srollout@mozilla.org in app-system-defaults
1489082000252 addons.xpi DEBUG getModTime: Recursive scan of e10srollout@mozilla.org
1489082000253 addons.xpi DEBUG New add-on firefox@getpocket.com in app-system-defaults
1489082000253 addons.xpi DEBUG getModTime: Recursive scan of firefox@getpocket.com
1489082000253 addons.xpi DEBUG New add-on aushelper@mozilla.org in app-system-defaults
1489082000254 addons.xpi DEBUG getModTime: Recursive scan of aushelper@mozilla.org
1489082000254 addons.xpi DEBUG New add-on webcompat@mozilla.org in app-system-defaults
1489082000254 addons.xpi DEBUG getModTime: Recursive scan of webcompat@mozilla.org
1489082000255 addons.xpi DEBUG New add-on langpack-en-GB@firefox.mozilla.org in app-global
1489082000255 addons.xpi DEBUG getModTime: Recursive scan of langpack-en-GB@firefox.mozilla.org
1489082000256 addons.xpi DEBUG New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} in app-global
1489082000256 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1489082000256 addons.xpi DEBUG New add-on langpack-pt-BR@firefox.mozilla.org in app-global
1489082000256 addons.xpi DEBUG getModTime: Recursive scan of langpack-pt-BR@firefox.mozilla.org
1489082000256 addons.xpi DEBUG New add-on langpack-en-ZA@firefox.mozilla.org in app-global
1489082000257 addons.xpi DEBUG getModTime: Recursive scan of langpack-en-ZA@firefox.mozilla.org
1489082000257 addons.xpi DEBUG New add-on langpack-pt-PT@firefox.mozilla.org in app-global
1489082000257 addons.xpi DEBUG getModTime: Recursive scan of langpack-pt-PT@firefox.mozilla.org
1489082000257 addons.xpi DEBUG getInstallState changed: true, state: {"app-system-defaults":{"e10srollout@mozilla.org":{"d":"/usr/lib/firefox/browser/features/e10srollout@mozilla.org.xpi","st":1485977689000},"firefox@getpocket.com":{"d":"/usr/lib/firefox/browser/features/firefox@getpocket.com.xpi","st":1485977689000},"aushelper@mozilla.org":{"d":"/usr/lib/firefox/browser/features/aushelper@mozilla.org.xpi","st":1485977689000},"webcompat@mozilla.org":{"d":"/usr/lib/firefox/browser/features/webcompat@mozilla.org.xpi","st":1485977689000}},"app-global":{"langpack-en-GB@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi","st":1485978305000},"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi","st":1485977689000},"langpack-pt-BR@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-pt-BR@firefox.mozilla.org.xpi","st":1485978407000},"langpack-en-ZA@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi","st":1485978305000},"langpack-pt-PT@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-pt-PT@firefox.mozilla.org.xpi","st":1485978408000}}}
1489082000266 addons.xpi-utils DEBUG Opening XPI database /tmp/rust_mozprofile.UMSKgPlNyzIe/extensions.json
1489082000267 addons.xpi-utils DEBUG New add-on e10srollout@mozilla.org installed in app-system-defaults
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1489082000280 DeferredSave.extensions.json DEBUG Save changes
1489082000280 addons.xpi-utils DEBUG New add-on firefox@getpocket.com installed in app-system-defaults
1489082000284 DeferredSave.extensions.json DEBUG Starting timer
1489082000286 DeferredSave.extensions.json DEBUG Save changes
1489082000287 addons.xpi-utils DEBUG New add-on aushelper@mozilla.org installed in app-system-defaults
1489082000290 DeferredSave.extensions.json DEBUG Save changes
1489082000291 addons.xpi-utils DEBUG New add-on webcompat@mozilla.org installed in app-system-defaults
1489082000294 DeferredSave.extensions.json DEBUG Save changes
1489082000295 addons.xpi-utils DEBUG New add-on langpack-en-GB@firefox.mozilla.org installed in app-global
1489082000304 DeferredSave.extensions.json DEBUG Save changes
1489082000304 addons.xpi-utils DEBUG New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in app-global
1489082000308 DeferredSave.extensions.json DEBUG Save changes
1489082000308 addons.xpi-utils DEBUG New add-on langpack-pt-BR@firefox.mozilla.org installed in app-global
1489082000317 DeferredSave.extensions.json DEBUG Save changes
1489082000317 addons.xpi-utils DEBUG New add-on langpack-en-ZA@firefox.mozilla.org installed in app-global
1489082000325 DeferredSave.extensions.json DEBUG Save changes
1489082000326 addons.xpi-utils DEBUG New add-on langpack-pt-PT@firefox.mozilla.org installed in app-global
1489082000334 DeferredSave.extensions.json DEBUG Save changes
1489082000334 addons.manager DEBUG Registering startup change 'installed' for e10srollout@mozilla.org
1489082000341 addons.xpi DEBUG Loading bootstrap scope from /usr/lib/firefox/browser/features/e10srollout@mozilla.org.xpi
1489082000347 addons.xpi DEBUG Calling bootstrap method install on e10srollout@mozilla.org version 1.7
1489082000348 addons.xpi-utils DEBUG Make addon app-system-defaults:e10srollout@mozilla.org visible
1489082000348 DeferredSave.extensions.json DEBUG Save changes
1489082000348 addons.manager DEBUG Registering startup change 'installed' for firefox@getpocket.com
1489082000349 addons.xpi DEBUG Loading bootstrap scope from /usr/lib/firefox/browser/features/firefox@getpocket.com.xpi
1489082000351 addons.xpi DEBUG Calling bootstrap method install on firefox@getpocket.com version 1.0.5
1489082000351 addons.xpi-utils DEBUG Make addon app-system-defaults:firefox@getpocket.com visible
1489082000352 DeferredSave.extensions.json DEBUG Save changes
1489082000352 addons.manager DEBUG Registering startup change 'installed' for aushelper@mozilla.org
1489082000353 addons.xpi DEBUG Loading bootstrap scope from /usr/lib/firefox/browser/features/aushelper@mozilla.org.xpi
1489082000355 addons.xpi DEBUG Calling bootstrap method install on aushelper@mozilla.org version 1.0
1489082000355 addons.xpi-utils DEBUG Make addon app-system-defaults:aushelper@mozilla.org visible
1489082000355 DeferredSave.extensions.json DEBUG Save changes
1489082000355 addons.manager DEBUG Registering startup change 'installed' for webcompat@mozilla.org
1489082000356 addons.xpi DEBUG Loading bootstrap scope from /usr/lib/firefox/browser/features/webcompat@mozilla.org.xpi
1489082000357 addons.xpi DEBUG Calling bootstrap method install on webcompat@mozilla.org version 1.0
1489082000357 addons.xpi-utils DEBUG Make addon app-system-defaults:webcompat@mozilla.org visible
1489082000358 DeferredSave.extensions.json DEBUG Save changes
1489082000358 addons.manager DEBUG Registering startup change 'installed' for langpack-en-GB@firefox.mozilla.org
1489082000358 addons.manager DEBUG Registering startup change 'installed' for langpack-en-GB@firefox.mozilla.org
1489082000359 addons.xpi-utils DEBUG Make addon app-global:langpack-en-GB@firefox.mozilla.org visible
1489082000359 DeferredSave.extensions.json DEBUG Save changes
1489082000359 addons.xpi-utils DEBUG Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd} visible
1489082000360 DeferredSave.extensions.json DEBUG Save changes
1489082000360 addons.manager DEBUG Registering startup change 'installed' for langpack-pt-BR@firefox.mozilla.org
1489082000360 addons.manager DEBUG Registering startup change 'installed' for langpack-pt-BR@firefox.mozilla.org
1489082000360 addons.xpi-utils DEBUG Make addon app-global:langpack-pt-BR@firefox.mozilla.org visible
1489082000361 DeferredSave.extensions.json DEBUG Save changes
1489082000361 addons.manager DEBUG Registering startup change 'installed' for langpack-en-ZA@firefox.mozilla.org
1489082000361 addons.manager DEBUG Registering startup change 'installed' for langpack-en-ZA@firefox.mozilla.org
1489082000361 addons.xpi-utils DEBUG Make addon app-global:langpack-en-ZA@firefox.mozilla.org visible
1489082000362 DeferredSave.extensions.json DEBUG Save changes
1489082000362 addons.manager DEBUG Registering startup change 'installed' for langpack-pt-PT@firefox.mozilla.org
1489082000362 addons.manager DEBUG Registering startup change 'installed' for langpack-pt-PT@firefox.mozilla.org
1489082000362 addons.xpi-utils DEBUG Make addon app-global:langpack-pt-PT@firefox.mozilla.org visible
1489082000363 DeferredSave.extensions.json DEBUG Save changes
1489082000363 addons.xpi DEBUG Updating XPIState for {"id":"e10srollout@mozilla.org","syncGUID":"{1dc28b74-f0d0-4275-a458-b57c06a96a5b}","location":"app-system-defaults","version":"1.7","type":"extension","internalName":null,"updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"icons":{},"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Multi-process staged rollout","description":"Staged rollout of Firefox multi-process feature.","creator":null,"homepageURL":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"/usr/lib/firefox/browser/features/e10srollout@mozilla.org.xpi","installDate":1485977689000,"updateDate":1485977689000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":6997,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"51.0.1","maxVersion":"51.*"}],"targetPlatforms":[],"multiprocessCompatible":true,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"mpcOptedOut":false}
1489082000363 addons.xpi DEBUG getModTime: Recursive scan of e10srollout@mozilla.org
1489082000364 addons.xpi DEBUG Updating XPIState for {"id":"firefox@getpocket.com","syncGUID":"{ce991d66-938d-4db4-abc0-a282397f5092}","location":"app-system-defaults","version":"1.0.5","type":"extension","internalName":null,"updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"icons":{},"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Pocket","description":"When you find something you want to view later, put it in Pocket.","creator":null,"homepageURL":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"/usr/lib/firefox/browser/features/firefox@getpocket.com.xpi","installDate":1485977689000,"updateDate":1485977689000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":921011,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"51.0.1","maxVersion":"51.*"}],"targetPlatforms":[],"multiprocessCompatible":true,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"mpcOptedOut":false}
1489082000364 addons.xpi DEBUG getModTime: Recursive scan of firefox@getpocket.com
1489082000365 addons.xpi DEBUG Updating XPIState for {"id":"aushelper@mozilla.org","syncGUID":"{ba90467f-f2bf-4565-800c-82ec132795b0}","location":"app-system-defaults","version":"1.0","type":"extension","internalName":null,"updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"icons":{},"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Application Update Service Helper","description":"Sets value(s) in the update url based on custom checks.","creator":null,"homepageURL":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"/usr/lib/firefox/browser/features/aushelper@mozilla.org.xpi","installDate":1485977689000,"updateDate":1485977689000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":5975,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"51.0.1","maxVersion":"51.*"}],"targetPlatforms":[],"multiprocessCompatible":true,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"mpcOptedOut":false}
1489082000366 addons.xpi DEBUG getModTime: Recursive scan of aushelper@mozilla.org
1489082000366 addons.xpi DEBUG Updating XPIState for {"id":"webcompat@mozilla.org","syncGUID":"{295cf7f9-e041-4c3b-88cf-ae9f38656281}","location":"app-system-defaults","version":"1.0","type":"extension","internalName":null,"updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"icons":{},"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Web Compat","description":"Urgent post-release fixes for web compatibility.","creator":null,"homepageURL":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"/usr/lib/firefox/browser/features/webcompat@mozilla.org.xpi","installDate":1485977689000,"updateDate":1485977689000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":1570,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"51.0.1","maxVersion":"51.*"}],"targetPlatforms":[],"multiprocessCompatible":true,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"mpcOptedOut":false}
1489082000366 addons.xpi DEBUG getModTime: Recursive scan of webcompat@mozilla.org
1489082000367 addons.xpi DEBUG Updating XPIState for {"id":"langpack-en-GB@firefox.mozilla.org","syncGUID":"{22e3b950-5cc2-4dab-9e17-13b5ee9a6aa8}","location":"app-global","version":"51.0.1","type":"locale","internalName":null,"updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"icons":{},"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"English (GB) Language Pack","description":null,"creator":"Mark Tyndall","homepageURL":null,"contributors":["David Bartlett","Constantine Murenin","Ian Neal"]},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"/usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi","installDate":1485978305000,"updateDate":1485978305000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":1125858,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":true,"hasBinaryComponents":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"51.0.1","maxVersion":"51.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false}
1489082000367 addons.xpi DEBUG getModTime: Recursive scan of langpack-en-GB@firefox.mozilla.org
1489082000367 addons.xpi DEBUG Updating XPIState for {"id":"{972ce4c6-7e08-4474-a285-3208198ce6fd}","syncGUID":"{62513ab6-2d26-4cc5-972b-6df5badba9cb}","location":"app-global","version":"51.0.1","type":"theme","internalName":"classic/1.0","updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"icons":{"32":"icon.png","48":"icon.png"},"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Default","description":"The default theme.","creator":"Mozilla","homepageURL":null,"contributors":["Mozilla Contributors"]},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi","installDate":1485977689000,"updateDate":1485977689000,"applyBackgroundUpdates":1,"skinnable":true,"size":4932,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"51.0.1","maxVersion":"51.0.1"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false}
1489082000367 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1489082000368 addons.xpi DEBUG Updating XPIState for {"id":"langpack-pt-BR@firefox.mozilla.org","syncGUID":"{202f1787-42f9-4399-953b-159be09bc5d3}","location":"app-global","version":"51.0.1","type":"locale","internalName":null,"updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"icons":{},"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Português (pt-BR) Language Pack","description":null,"creator":"br.mozdev.org","homepageURL":null,"contributors":["Fernando Pereira Silveira","Jefferson Hultmann","Marco Aurélio Krause","Reuben Morais"]},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"/usr/lib/firefox/browser/extensions/langpack-pt-BR@firefox.mozilla.org.xpi","installDate":1485978407000,"updateDate":1485978407000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":1158946,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":true,"hasBinaryComponents":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"51.0.1","maxVersion":"51.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false}
1489082000368 addons.xpi DEBUG getModTime: Recursive scan of langpack-pt-BR@firefox.mozilla.org
1489082000369 addons.xpi DEBUG Updating XPIState for {"id":"langpack-en-ZA@firefox.mozilla.org","syncGUID":"{5f2a18ce-55e2-428d-9833-9e2a6c6442a0}","location":"app-global","version":"51.0.1","type":"locale","internalName":null,"updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"icons":{},"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"English (South Africa) Language Pack","description":null,"creator":"Translate.org.za","homepageURL":null,"contributors":["Translate.org.za","Dwayne Bailey"]},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"/usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi","installDate":1485978305000,"updateDate":1485978305000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":1160493,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":true,"hasBinaryComponents":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"51.0.1","maxVersion":"51.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false}
1489082000369 addons.xpi DEBUG getModTime: Recursive scan of langpack-en-ZA@firefox.mozilla.org
1489082000369 addons.xpi DEBUG Updating XPIState for {"id":"langpack-pt-PT@firefox.mozilla.org","syncGUID":"{6515a4e4-9f5c-4aca-8e1f-d19d340b3f02}","location":"app-global","version":"51.0.1","type":"locale","internalName":null,"updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"icons":{},"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Português (Portugal) Language Pack","description":null,"creator":"Projeto de tradução do Mozilla para Português","homepageURL":null,"contributors":["Albert de Castro","Artur Araújo","Bruno Duarte","Carlos Rodrigues","Cláudio Esperança","Diogo Santos","Francisco Castanheiro","Gonçalo Matos","João Miguel Neves","Marco Sousa","Pedro Antunes","Pedro Figueira","Rita Farinha","Rodrigo Cunha","Sérgio Marques"]},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"/usr/lib/firefox/browser/extensions/langpack-pt-PT@firefox.mozilla.org.xpi","installDate":1485978408000,"updateDate":1485978408000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":1159110,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":true,"hasBinaryComponents":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"51.0.1","maxVersion":"51.*"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false}
1489082000369 addons.xpi DEBUG getModTime: Recursive scan of langpack-pt-PT@firefox.mozilla.org
1489082000370 DeferredSave.extensions.json DEBUG Save changes
1489082000370 addons.xpi DEBUG Updating database with changes to installed add-ons
1489082000370 addons.xpi-utils DEBUG Updating add-on states
1489082000371 addons.xpi-utils DEBUG Writing add-ons list
1489082000373 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/features/aushelper@mozilla.org.xpi
1489082000374 addons.xpi DEBUG Calling bootstrap method startup on aushelper@mozilla.org version 1.0
1489082000374 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/features/e10srollout@mozilla.org.xpi
1489082000375 addons.xpi DEBUG Calling bootstrap method startup on e10srollout@mozilla.org version 1.7
1489082000375 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/features/firefox@getpocket.com.xpi
1489082000376 addons.xpi DEBUG Calling bootstrap method startup on firefox@getpocket.com version 1.0.5
1489082000377 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi
1489082000378 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi
1489082000379 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/extensions/langpack-pt-BR@firefox.mozilla.org.xpi
1489082000380 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/extensions/langpack-pt-PT@firefox.mozilla.org.xpi
1489082000381 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/features/webcompat@mozilla.org.xpi
1489082000381 addons.xpi DEBUG Calling bootstrap method startup on webcompat@mozilla.org version 1.0
1489082000383 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1489082000383 addons.manager DEBUG Provider finished startup: XPIProvider
1489082000383 addons.manager DEBUG Starting provider: LightweightThemeManager
1489082000383 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1489082000384 addons.manager DEBUG Provider finished startup: LightweightThemeManager
1489082000384 addons.manager DEBUG Starting provider: GMPProvider
1489082000390 addons.manager DEBUG Registering shutdown blocker for GMPProvider
1489082000390 addons.manager DEBUG Provider finished startup: GMPProvider
1489082000390 addons.manager DEBUG Starting provider: PluginProvider
1489082000390 addons.manager DEBUG Registering shutdown blocker for PluginProvider
1489082000391 addons.manager DEBUG Provider finished startup: PluginProvider
1489082000391 addons.manager DEBUG Completed startup sequence
1489082000839 Marionette INFO Listening on port 46266
1489082001865 addons.manager DEBUG Starting provider: <unnamed-provider>
1489082001865 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
1489082001865 addons.manager DEBUG Provider finished startup: <unnamed-provider>
1489082001886 addons.manager DEBUG Starting provider: PreviousExperimentProvider
1489082001886 addons.manager DEBUG Registering shutdown blocker for PreviousExperimentProvider
1489082001886 addons.manager DEBUG Provider finished startup: PreviousExperimentProvider
1489082001889 DeferredSave.extensions.json DEBUG Starting write
1489082002005 DeferredSave.extensions.json DEBUG Write succeeded
1489082002005 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 19
(/usr/lib/firefox/plugin-container:3718): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed
(/usr/lib/firefox/plugin-container:3718): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed
(/usr/lib/firefox/plugin-container:3718): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed
(/usr/lib/firefox/plugin-container:3718): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed
Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{marionette=true, browserName=firefox, moz:firefoxOptions=org.openqa.selenium.firefox.FirefoxOptions@1500955a, version=, platform=ANY, firefox_profile=org.openqa.selenium.firefox.FirefoxProfile@e874448}], required capabilities = Capabilities [{}]
Build info: version: '3.1.0', revision: '86a5d70', time: '2017-02-16 07:57:44 -0800'
System info: host: 'kevin-pc', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-42-generic', java.version: '1.8.0_121'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:91)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:241)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:128)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:293)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:272)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:267)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:130)
at Testa_main.main(Testa_main.java:18)