Please share your working POM.xml file with us...

128 views
Skip to first unread message

SeleniumWhat?

unread,
Aug 15, 2017, 12:31:36 PM8/15/17
to Serenity BDD Users Group
Hi All,
  I tried but failed to bring together all of the latest releases of Serenity v1.5.4-rc.x  + Cucumber v1.2.5 + Selenium Web Driver 3.4.0 + Firefox 55.0.x  + Gecko Driver.
  I would assume that some of you already figured it out the library/version conflicts and got them to work together?
  If you have, would you please share your working POM.xml with  us?  It doesn't have to be the "latest" but anything close to the "latest" is good enough for us.
  Thank you in advance!
  J.N
PS: I - with John's guidance/tips - was able to bring up the Firefox (v55) browser, but then the execution/driver erred out.  John told me that was a sign of version incompatibility/conflict.  I tried different versions of FF (from 48 to 55) but still no prevail.  I'm stuck :-).  Please help!

John Smart

unread,
Aug 15, 2017, 4:52:59 PM8/15/17
to SeleniumWhat?, Serenity BDD Users Group
--
You received this message because you are subscribed to the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-use...@googlegroups.com.
To post to this group, send email to thucydid...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
___________________________________________________
John Smart | Wakaleo Consulting  |  +44 7398 832273
Making smart teams collaborate better
http://johnfergusonsmart.com  |  john....@wakaleo.com
___________________________________________________

We love breaking down silos and helping smart teams collaborate better! Ask about our tailored on-site workshops in Agile Product Planning, BDD Requirements Discovery,  BDD, TDD and Clean Coding, and Advanced BDD Test Automation.

Need some help with Serenity BDD? Check out our Serenity BDD training and support packages here.
___________________________________________________

SeleniumWhat?

unread,
Aug 15, 2017, 8:00:15 PM8/15/17
to Serenity BDD Users Group, nguye...@yahoo.com
Hi John,
  Thanks for the link... will try it out !
  J.N

SeleniumWhat?

unread,
Aug 15, 2017, 8:35:11 PM8/15/17
to Serenity BDD Users Group, nguye...@yahoo.com
Hi John,
  I copied the POM.xml from your link to my project.  The only thing I changed is "<webdriver.base.url>https://www.amazon.com/</webdriver.base.url>".  I'm not sure if I even need this property because in my "Home" page I already stated the default url as "@DefaultUrl("https://www.amazon.com")"
 I also notice that your POM/xml does not have the browser type property but somehow when the execution starts, it uses "Firefox" browser.  Maybe it looks into the serenity.properties file?
  The execution gets the the same errors I got before.  Would you please take a look at the error messages?  I really appreciate your help here John!
  Meanwhile,  I'll try my best to find out what the actual issues are!  I'm going to clear out the things that I don't need.

================================

1502842396413 addons.manager DEBUG Application has been upgraded

1502842396434 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]

1502842396436 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]

1502842396440 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/GMPProvider.jsm

1502842396442 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/PluginProvider.jsm

1502842396443 addons.manager DEBUG Starting provider: XPIProvider

1502842396443 addons.xpi DEBUG startup

1502842396444 addons.xpi INFO Mapping fxdr...@googlecode.com to /var/folders/fw/vhc93khn6sb6k_pt32v6s2c80000gn/T/anonymous4040896404388041170webdriver-profile/extensions/fxdr...@googlecode.com

1502842396444 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /var/folders/fw/vhc93khn6sb6k_pt32v6s2c80000gn/T/anonymous4040896404388041170webdriver-profile/extensions/webdriver-staging

1502842396444 addons.xpi INFO Removing all system add-on upgrades.

1502842396445 addons.xpi INFO SystemAddonInstallLocation directory is missing

1502842396446 addons.xpi INFO Mapping aush...@mozilla.org to /Applications/Firefox.app/Contents/Resources/browser/features/aush...@mozilla.org.xpi

1502842396446 addons.xpi INFO Mapping e10sr...@mozilla.org to /Applications/Firefox.app/Contents/Resources/browser/features/e10sr...@mozilla.org.xpi

1502842396447 addons.xpi INFO Mapping fir...@getpocket.com to /Applications/Firefox.app/Contents/Resources/browser/features/fir...@getpocket.com.xpi

1502842396447 addons.xpi INFO Mapping scree...@mozilla.org to /Applications/Firefox.app/Contents/Resources/browser/features/scree...@mozilla.org.xpi

1502842396447 addons.xpi INFO Mapping webc...@mozilla.org to /Applications/Firefox.app/Contents/Resources/browser/features/webc...@mozilla.org.xpi

1502842396448 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to /Applications/Firefox.app/Contents/Resources/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi

1502842396448 addons.xpi DEBUG Skipping unavailable install location app-system-share

1502842396449 addons.xpi DEBUG checkForChanges

1502842396449 addons.xpi INFO SystemAddonInstallLocation directory is missing

1502842396450 addons.xpi DEBUG Loaded add-on state from prefs: {}

1502842396451 addons.xpi DEBUG New add-on fxdr...@googlecode.com in app-profile

1502842396451 addons.xpi DEBUG getModTime: Recursive scan of fxdr...@googlecode.com

1502842396454 addons.xpi DEBUG New add-on aush...@mozilla.org in app-system-defaults

1502842396454 addons.xpi DEBUG getModTime: Recursive scan of aush...@mozilla.org

1502842396455 addons.xpi DEBUG New add-on e10sr...@mozilla.org in app-system-defaults

1502842396456 addons.xpi DEBUG getModTime: Recursive scan of e10sr...@mozilla.org

1502842396456 addons.xpi DEBUG New add-on fir...@getpocket.com in app-system-defaults

1502842396456 addons.xpi DEBUG getModTime: Recursive scan of fir...@getpocket.com

1502842396456 addons.xpi DEBUG New add-on scree...@mozilla.org in app-system-defaults

1502842396457 addons.xpi DEBUG getModTime: Recursive scan of scree...@mozilla.org

1502842396457 addons.xpi DEBUG New add-on webc...@mozilla.org in app-system-defaults

1502842396458 addons.xpi DEBUG getModTime: Recursive scan of webc...@mozilla.org

1502842396458 addons.xpi DEBUG New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} in app-global

1502842396458 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}

1502842396458 addons.xpi DEBUG getInstallState changed: true, state: {"app-profile":{"fxdr...@googlecode.com":{"d":"/var/folders/fw/vhc93khn6sb6k_pt32v6s2c80000gn/T/anonymous4040896404388041170webdriver-profile/extensions/fxdr...@googlecode.com","st":1502842396000,"mt":1502842396000}},"app-system-defaults":{"aush...@mozilla.org":{"d":"/Applications/Firefox.app/Contents/Resources/browser/features/aush...@mozilla.org.xpi","st":1496948382000},"e10sr...@mozilla.org":{"d":"/Applications/Firefox.app/Contents/Resources/browser/features/e10sr...@mozilla.org.xpi","st":1496948382000},"fir...@getpocket.com":{"d":"/Applications/Firefox.app/Contents/Resources/browser/features/fir...@getpocket.com.xpi","st":1496948382000},"scree...@mozilla.org":{"d":"/Applications/Firefox.app/Contents/Resources/browser/features/scree...@mozilla.org.xpi","st":1496948383000},"webc...@mozilla.org":{"d":"/Applications/Firefox.app/Contents/Resources/browser/features/webc...@mozilla.org.xpi","st":1496948383000}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/Applications/Firefox.app/Contents/Resources/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi","st":1496948382000}}}

1502842396467 addons.xpi-utils DEBUG Opening XPI database /var/folders/fw/vhc93khn6sb6k_pt32v6s2c80000gn/T/anonymous4040896404388041170webdriver-profile/extensions.json

1502842396468 addons.xpi-utils DEBUG New add-on fxdr...@googlecode.com installed in app-profile

*** Blocklist::_loadBlocklistFromFile: blocklist is disabled

1502842396484 addons.xpi WARN Add-on fxdr...@googlecode.com is not correctly signed.

1502842396484 addons.xpi WARN Add-on fxdr...@googlecode.com is not correctly signed.

1502842396487 DeferredSave.extensions.json DEBUG Save changes

1502842396488 addons.xpi-utils DEBUG New add-on aush...@mozilla.org installed in app-system-defaults

1502842396491 DeferredSave.extensions.json DEBUG Starting timer

1502842396494 DeferredSave.extensions.json DEBUG Save changes

1502842396494 addons.xpi-utils DEBUG New add-on e10sr...@mozilla.org installed in app-system-defaults

1502842396500 DeferredSave.extensions.json DEBUG Save changes

1502842396501 addons.xpi-utils DEBUG New add-on fir...@getpocket.com installed in app-system-defaults

1502842396506 DeferredSave.extensions.json DEBUG Save changes

1502842396506 addons.xpi-utils DEBUG New add-on scree...@mozilla.org installed in app-system-defaults

1502842396515 DeferredSave.extensions.json DEBUG Save changes

1502842396515 addons.xpi-utils DEBUG New add-on webc...@mozilla.org installed in app-system-defaults

1502842396521 DeferredSave.extensions.json DEBUG Starting write

1502842396526 DeferredSave.extensions.json DEBUG Save changes

1502842396526 DeferredSave.extensions.json DEBUG Data changed while write in progress

1502842396527 addons.xpi-utils DEBUG New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in app-global

1502842396531 DeferredSave.extensions.json DEBUG Save changes

1502842396532 addons.manager DEBUG Registering startup change 'installed' for fxdr...@googlecode.com

1502842396532 addons.xpi-utils DEBUG Make addon app-profile:fxdr...@googlecode.com visible

1502842396532 DeferredSave.extensions.json DEBUG Save changes

1502842396532 addons.manager DEBUG Registering startup change 'installed' for aush...@mozilla.org

1502842396541 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/aush...@mozilla.org.xpi

1502842396545 addons.xpi DEBUG Calling bootstrap method install on aush...@mozilla.org version 2.0

1502842396546 addons.xpi-utils DEBUG Make addon app-system-defaults:aush...@mozilla.org visible

1502842396546 DeferredSave.extensions.json DEBUG Save changes

1502842396547 addons.manager DEBUG Registering startup change 'installed' for e10sr...@mozilla.org

1502842396547 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/e10sr...@mozilla.org.xpi

1502842396550 addons.xpi DEBUG Calling bootstrap method install on e10sr...@mozilla.org version 1.50

1502842396552 addons.xpi-utils DEBUG Make addon app-system-defaults:e10sr...@mozilla.org visible

1502842396552 DeferredSave.extensions.json DEBUG Save changes

1502842396552 addons.manager DEBUG Registering startup change 'installed' for fir...@getpocket.com

1502842396553 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/fir...@getpocket.com.xpi

1502842396557 addons.xpi DEBUG Calling bootstrap method install on fir...@getpocket.com version 1.0.5

1502842396557 addons.xpi-utils DEBUG Make addon app-system-defaults:fir...@getpocket.com visible

1502842396557 DeferredSave.extensions.json DEBUG Save changes

1502842396558 addons.manager DEBUG Registering startup change 'installed' for scree...@mozilla.org

1502842396558 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/scree...@mozilla.org.xpi

1502842396560 addons.xpi DEBUG Calling bootstrap method install on scree...@mozilla.org version 6.6.0

1502842396560 addons.xpi-utils DEBUG Make addon app-system-defaults:scree...@mozilla.org visible

1502842396561 DeferredSave.extensions.json DEBUG Save changes

1502842396561 addons.manager DEBUG Registering startup change 'installed' for webc...@mozilla.org

1502842396562 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/webc...@mozilla.org.xpi

1502842396564 addons.xpi DEBUG Calling bootstrap method install on webc...@mozilla.org version 1.1

1502842396564 addons.xpi-utils DEBUG Make addon app-system-defaults:webc...@mozilla.org visible

1502842396564 DeferredSave.extensions.json DEBUG Save changes

1502842396565 addons.xpi-utils DEBUG Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd} visible

1502842396565 DeferredSave.extensions.json DEBUG Save changes

1502842396565 addons.xpi DEBUG Updating XPIState for {"id":"fxdr...@googlecode.com","syncGUID":"{283e2668-bda9-8740-b682-f392310c4bd7}","location":"app-profile","version":"3.4.0","type":"extension","internalName":null,"updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"icons":{},"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Firefox WebDriver","description":"WebDriver implementation for Firefox","creator":"Simon Stewart","homepageURL":null},"visible":true,"active":false,"userDisabled":false,"appDisabled":true,"descriptor":"/var/folders/fw/vhc93khn6sb6k_pt32v6s2c80000gn/T/anonymous4040896404388041170webdriver-profile/extensions/fxdr...@googlecode.com","installDate":1502842396000,"updateDate":1502842396000,"applyBackgroundUpdates":1,"bootstrap":false,"skinnable":false,"size":3303362,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":true,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"3.0","maxVersion":"48.0"}],"targetPlatforms":[{"os":"Darwin","abi":null},{"os":"SunOS","abi":null},{"os":"FreeBSD","abi":null},{"os":"OpenBSD","abi":null},{"os":"WINNT","abi":null},{"os":"Linux","abi":null}],"multiprocessCompatible":false,"signedState":0,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"mpcOptedOut":false,"userPermissions":null}

1502842396566 addons.xpi DEBUG Updating XPIState for {"id":"aush...@mozilla.org","syncGUID":"{25879e43-f6ac-d344-945c-6e28b9336684}","location":"app-system-defaults","version":"2.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":"/Applications/Firefox.app/Contents/Resources/browser/features/aush...@mozilla.org.xpi","installDate":1496948382000,"updateDate":1496948382000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":8486,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"54.0","maxVersion":"54.*"}],"targetPlatforms":[],"multiprocessCompatible":true,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"mpcOptedOut":false,"userPermissions":null}

1502842396566 addons.xpi DEBUG getModTime: Recursive scan of aush...@mozilla.org

1502842396567 addons.xpi DEBUG Updating XPIState for {"id":"e10sr...@mozilla.org","syncGUID":"{cc5e2509-5526-6943-bbbb-ef8a05ee535c}","location":"app-system-defaults","version":"1.50","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":"/Applications/Firefox.app/Contents/Resources/browser/features/e10sr...@mozilla.org.xpi","installDate":1496948382000,"updateDate":1496948382000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":12517,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"54.0","maxVersion":"54.*"}],"targetPlatforms":[],"multiprocessCompatible":true,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"mpcOptedOut":false,"userPermissions":null}

1502842396567 addons.xpi DEBUG getModTime: Recursive scan of e10sr...@mozilla.org

1502842396567 addons.xpi DEBUG Updating XPIState for {"id":"fir...@getpocket.com","syncGUID":"{56300b07-061a-c548-990e-c298a3fb66f3}","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":"/Applications/Firefox.app/Contents/Resources/browser/features/fir...@getpocket.com.xpi","installDate":1496948382000,"updateDate":1496948382000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":913904,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"54.0","maxVersion":"54.*"}],"targetPlatforms":[],"multiprocessCompatible":true,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"mpcOptedOut":false,"userPermissions":null}

1502842396567 addons.xpi DEBUG getModTime: Recursive scan of fir...@getpocket.com

1502842396567 addons.xpi DEBUG Updating XPIState for {"id":"scree...@mozilla.org","syncGUID":"{a15104e3-f73c-1c47-add0-0529c85084e8}","location":"app-system-defaults","version":"6.6.0","type":"extension","internalName":null,"updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"icons":{},"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Firefox Screenshots","description":null,"creator":null,"homepageURL":"https://pageshot.net/"},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"/Applications/Firefox.app/Contents/Resources/browser/features/scree...@mozilla.org.xpi","installDate":1496948383000,"updateDate":1496948383000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":716271,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"51.0a1","maxVersion":"*"}],"targetPlatforms":[],"multiprocessCompatible":true,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"mpcOptedOut":false,"userPermissions":null}

1502842396568 addons.xpi DEBUG getModTime: Recursive scan of scree...@mozilla.org

1502842396568 addons.xpi DEBUG Updating XPIState for {"id":"webc...@mozilla.org","syncGUID":"{e2d44956-2b1f-5845-8478-1f73947c9d78}","location":"app-system-defaults","version":"1.1","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":"/Applications/Firefox.app/Contents/Resources/browser/features/webc...@mozilla.org.xpi","installDate":1496948383000,"updateDate":1496948383000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":9004,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"54.0","maxVersion":"54.*"}],"targetPlatforms":[],"multiprocessCompatible":true,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"mpcOptedOut":false,"userPermissions":null}

1502842396568 addons.xpi DEBUG getModTime: Recursive scan of webc...@mozilla.org

1502842396568 addons.xpi DEBUG Updating XPIState for {"id":"{972ce4c6-7e08-4474-a285-3208198ce6fd}","syncGUID":"{fef18c00-911f-a74c-9d71-816c624f12ad}","location":"app-global","version":"54.0","type":"theme","internalName":"classic/1.0","updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"icons":{},"iconURL":"chrome://browser/content/default-theme-icon.svg","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":"/Applications/Firefox.app/Contents/Resources/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi","installDate":1496948382000,"updateDate":1496948382000,"applyBackgroundUpdates":1,"skinnable":true,"size":3908,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"54.0","maxVersion":"54.0"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null}

1502842396569 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}

1502842396571 DeferredSave.extensions.json DEBUG Save changes

1502842396572 addons.xpi DEBUG Updating database with changes to installed add-ons

1502842396572 addons.xpi-utils DEBUG Updating add-on states

1502842396573 addons.xpi-utils DEBUG Writing add-ons list

1502842396575 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/aush...@mozilla.org.xpi

1502842396575 addons.xpi DEBUG Calling bootstrap method startup on aush...@mozilla.org version 2.0

1502842396576 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/e10sr...@mozilla.org.xpi

1502842396576 addons.xpi DEBUG Calling bootstrap method startup on e10sr...@mozilla.org version 1.50

1502842396577 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/fir...@getpocket.com.xpi

1502842396578 addons.xpi DEBUG Calling bootstrap method startup on fir...@getpocket.com version 1.0.5

1502842396579 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/scree...@mozilla.org.xpi

1502842396579 addons.xpi DEBUG Calling bootstrap method startup on scree...@mozilla.org version 6.6.0

1502842396580 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/webc...@mozilla.org.xpi

1502842396580 addons.xpi DEBUG Calling bootstrap method startup on webc...@mozilla.org version 1.1

1502842396585 addons.manager DEBUG Registering shutdown blocker for XPIProvider

1502842396585 addons.manager DEBUG Provider finished startup: XPIProvider

1502842396585 addons.manager DEBUG Starting provider: LightweightThemeManager

1502842396585 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager

1502842396585 addons.manager DEBUG Provider finished startup: LightweightThemeManager

1502842396586 addons.manager DEBUG Starting provider: GMPProvider

1502842396590 addons.manager DEBUG Registering shutdown blocker for GMPProvider

1502842396590 addons.manager DEBUG Provider finished startup: GMPProvider

1502842396590 addons.manager DEBUG Starting provider: PluginProvider

1502842396590 addons.manager DEBUG Registering shutdown blocker for PluginProvider

1502842396591 addons.manager DEBUG Provider finished startup: PluginProvider

1502842396591 addons.manager DEBUG Completed startup sequence

1502842396957 addons.manager DEBUG Starting provider: <unnamed-provider>

1502842396957 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>

1502842396958 addons.manager DEBUG Provider finished startup: <unnamed-provider>

1502842397068 DeferredSave.extensions.json DEBUG Write succeeded

1502842397068 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 19

1502842397068 DeferredSave.extensions.json DEBUG Starting timer

1502842397089 addons.repository DEBUG No addons.json found.

1502842397090 DeferredSave.addons.json DEBUG Save changes

1502842397092 DeferredSave.addons.json DEBUG Starting timer

1502842397116 addons.manager DEBUG Starting provider: PreviousExperimentProvider

1502842397116 addons.manager DEBUG Registering shutdown blocker for PreviousExperimentProvider

1502842397116 addons.manager DEBUG Provider finished startup: PreviousExperimentProvider

1502842397118 DeferredSave.extensions.json DEBUG Starting write

1502842397145 DeferredSave.extensions.json DEBUG Write succeeded

1502842397146 DeferredSave.addons.json DEBUG Starting write

1502842397158 DeferredSave.addons.json DEBUG Write succeeded

2017-08-15 20:13:18.238 plugin-container[1254:43143] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x963b, name = 'com.apple.tsm.portname'

See /usr/include/servers/bootstrap_defs.h for the error codes.

2017-08-15 20:13:18.241 plugin-container[1254:43143] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x9903, name = 'com.apple.CFPasteboardClient'

See /usr/include/servers/bootstrap_defs.h for the error codes.

[main] ERROR net.thucydides.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class org.openqa.selenium.firefox.FirefoxDriver: Could not instantiate new WebDriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.

Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'

System info: host: 'Macbook.home', ip: 'fe80:0:0:0:145b:b5da:7163:140e%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.2', java.version: '1.8.0_101'

Driver info: driver.version: FirefoxDriver

net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new WebDriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.

Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'

System info: host: 'Macbook.home', ip: 'fe80:0:0:0:145b:b5da:7163:140e%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.2', java.version: '1.8.0_101'

Driver info: driver.version: FirefoxDriver

at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:135)

at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:147)

at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:138)

at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:108)

at net.thucydides.core.webdriver.WebDriverFacade.openIgnoringHtmlUnitScriptErrors(WebDriverFacade.java:183)

at net.thucydides.core.webdriver.WebDriverFacade.get(WebDriverFacade.java:178)

at net.serenitybdd.core.pages.PageObject.openPageAtUrl(PageObject.java:827)

at net.serenitybdd.core.pages.PageObject.open(PageObject.java:737)

at net.serenitybdd.core.pages.PageObject.open(PageObject.java:725)

at auto.steps.serenity.EndUserSteps.navigates_to_page(EndUserSteps.java:50)

at auto.steps.serenity.EndUserSteps$$EnhancerByCGLIB$$7c8c1f0.CGLIB$navigates_to_page$1(<generated>)

at auto.steps.serenity.EndUserSteps$$EnhancerByCGLIB$$7c8c1f0$$FastClassByCGLIB$$f66f4302.invoke(<generated>)

at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)

at net.thucydides.core.steps.StepInterceptor.invokeMethod(StepInterceptor.java:395)

at net.thucydides.core.steps.StepInterceptor.executeTestStepMethod(StepInterceptor.java:380)

at net.thucydides.core.steps.StepInterceptor.runTestStep(StepInterceptor.java:355)

at net.thucydides.core.steps.StepInterceptor.testStepResult(StepInterceptor.java:132)

at net.thucydides.core.steps.StepInterceptor.intercept(StepInterceptor.java:61)

at auto.steps.serenity.EndUserSteps$$EnhancerByCGLIB$$7c8c1f0.navigates_to_page(<generated>)

at auto.steps.DefinitionSteps.user_navigates_to_Amazon_website(DefinitionSteps.java:19)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at cucumber.runtime.Utils$1.call(Utils.java:40)

at cucumber.runtime.Timeout.timeout(Timeout.java:16)

at cucumber.runtime.Utils.invoke(Utils.java:34)

at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:38)

at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)

at cucumber.runtime.Runtime.runStep(Runtime.java:300)

at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)

at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)

at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)

at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:165)

at cucumber.runtime.Runtime.run(Runtime.java:122)

at cucumber.api.cli.Main.run(Main.java:36)

at cucumber.api.cli.Main.main(Main.java:18)

Caused by: org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.

Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'

System info: host: 'Macbook.home', ip: 'fe80:0:0:0:145b:b5da:7163:140e%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.2', java.version: '1.8.0_101'

Driver info: driver.version: FirefoxDriver

at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:658)

at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:250)

at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:236)

at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:137)

at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:191)

at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:108)

at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:137)

at net.serenitybdd.core.webdriver.driverproviders.FirefoxDriverProvider.newFirefoxDriver(FirefoxDriverProvider.java:69)

at net.serenitybdd.core.webdriver.driverproviders.FirefoxDriverProvider.newInstance(FirefoxDriverProvider.java:52)

at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:125)

... 36 more

Caused by: java.lang.NullPointerException

at org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(DriverService.java:192)

at org.openqa.selenium.firefox.XpiDriverService.start(XpiDriverService.java:94)

at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:78)

at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:637)

... 45 more


  @Amazon-User-Login-Authentication

  Scenario: Amazon User Login Authentication      # /Users/john/workspace/Future Enhancement/src/test/resources/features/admin/user_management/user_Login_authentication/Futute_Enhancement.feature:9

    Given user navigates to Amazon "Home" website # DefinitionSteps.user_navigates_to_Amazon_website(String)

      net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class org.openqa.selenium.firefox.FirefoxDriver


================================

Aleksandr Hlapov

unread,
Aug 16, 2017, 7:15:27 AM8/16/17
to Serenity BDD Users Group, nguye...@yahoo.com
possibly problem is here:

[main] ERROR net.thucydides.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class org.openqa.selenium.firefox.FirefoxDriver: Could not instantiate new WebDriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.


it means that wedriver is not found. You could update your pom to something like this to be able to change driver more freely:

<plugin>
    <artifactId>maven-failsafe-plugin</artifactId>
    …
    <systemPropertyVariables>
        <webdriver.base.url>${webdriver.base.url}</webdriver.base.url>
        <webdriver.driver>${your driver}</webdriver.driver> <!--chrome, firefox, phantom, …-->
    </systemPropertyVariables>
    …
</plugin>

and put webdriver executable to project root folder or one level higher. I.e. for example your pom: <webdriver.driver>chrome</webdriver.driver> and project structure
myProject
    src
    pom.xml
    readmi.md
    .gitgnore
    serenity.properties
    chromedriver.exe

Or update your system PATH variable: add absolute path where you store your web drivers.

Also try to download whole sample project and see if it works. If yes then problem not in pom.

Or just create test without webdriver. I.e. something like
import net.serenitybdd.junit.runners.SerenityRunner;
import net.thucydides.core.annotations.Steps;
import org.junit.Test;
import org.junit.runner.RunWith;

@RunWith(SerenityRunner.class)
public class myFirstTest {
    @Steps
    MySteps mySteps;
   
    @Test
    public void myTest() {
        mySteps.shouldPass();
        mySteps.shouldFail();
    }
}

import net.thucydides.core.annotations.Step;
import net.thucydides.core.steps.ScenarioSteps;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;

class MySteps extends ScenarioSteps{

    @Step
    void shouldPass() {
        assertThat(true, is(true));
    }

    @Step
    void shouldFail() {
        assertThat(true, is(false));

    }
}

On Wednesday, August 16, 2017 at 3:35:11 AM UTC+3, SeleniumWhat? wrote:
Hi John,
  I copied the POM.xml from your link to my project.  The only thing I changed is "<webdriver.base.url>https://www.amazon.com/</webdriver.base.url>".  I'm not sure if I even need this property because in my "Home" page I already stated the default url as "@DefaultUrl("https://www.amazon.com")"
 I also notice that your POM/xml does not have the browser type property but somehow when the execution starts, it uses "Firefox" browser.  Maybe it looks into the serenity.properties file?
  The execution gets the the same errors I got before.  Would you please take a look at the error messages?  I really appreciate your help here John!
  Meanwhile,  I'll try my best to find out what the actual issues are!  I'm going to clear out the things that I don't need.

================================

1502842396413 addons.manager DEBUG Application has been upgraded

1502842396434 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]

1502842396436 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]

1502842396440 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/GMPProvider.jsm

1502842396442 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/PluginProvider.jsm

1502842396443 addons.manager DEBUG Starting provider: XPIProvider

1502842396443 addons.xpi DEBUG startup

1502842396444 addons.xpi INFO Mapping fxdr...@googlecode.com to /var/folders/fw/vhc93khn6sb6k_pt32v6s2c80000gn/T/anonymous4040896404388041170webdriver-profile/extensions/fxdri...@googlecode.com

1502842396444 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /var/folders/fw/vhc93khn6sb6k_pt32v6s2c80000gn/T/anonymous4040896404388041170webdriver-profile/extensions/webdriver-staging

1502842396444 addons.xpi INFO Removing all system add-on upgrades.

1502842396445 addons.xpi INFO SystemAddonInstallLocation directory is missing

1502842396446 addons.xpi INFO Mapping aush...@mozilla.org to /Applications/Firefox.app/Contents/Resources/browser/features/aushelper@mozilla.org.xpi

1502842396446 addons.xpi INFO Mapping e10sr...@mozilla.org to /Applications/Firefox.app/Contents/Resources/browser/features/e10srollout@mozilla.org.xpi

1502842396447 addons.xpi INFO Mapping fir...@getpocket.com to /Applications/Firefox.app/Contents/Resources/browser/features/firefox@getpocket.com.xpi

1502842396447 addons.xpi INFO Mapping scree...@mozilla.org to /Applications/Firefox.app/Contents/Resources/browser/features/screenshots@mozilla.org.xpi

1502842396447 addons.xpi INFO Mapping webc...@mozilla.org to /Applications/Firefox.app/Contents/Resources/browser/features/webcompat@mozilla.org.xpi

1502842396448 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to /Applications/Firefox.app/Contents/Resources/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi

1502842396448 addons.xpi DEBUG Skipping unavailable install location app-system-share

1502842396449 addons.xpi DEBUG checkForChanges

1502842396449 addons.xpi INFO SystemAddonInstallLocation directory is missing

1502842396450 addons.xpi DEBUG Loaded add-on state from prefs: {}

1502842396451 addons.xpi DEBUG New add-on fxdr...@googlecode.com in app-profile

1502842396451 addons.xpi DEBUG getModTime: Recursive scan of fxdr...@googlecode.com

1502842396454 addons.xpi DEBUG New add-on aush...@mozilla.org in app-system-defaults

1502842396454 addons.xpi DEBUG getModTime: Recursive scan of aush...@mozilla.org

1502842396455 addons.xpi DEBUG New add-on e10sr...@mozilla.org in app-system-defaults

1502842396456 addons.xpi DEBUG getModTime: Recursive scan of e10sr...@mozilla.org

1502842396456 addons.xpi DEBUG New add-on fir...@getpocket.com in app-system-defaults

1502842396456 addons.xpi DEBUG getModTime: Recursive scan of fir...@getpocket.com

1502842396456 addons.xpi DEBUG New add-on scree...@mozilla.org in app-system-defaults

1502842396457 addons.xpi DEBUG getModTime: Recursive scan of scree...@mozilla.org

1502842396457 addons.xpi DEBUG New add-on webc...@mozilla.org in app-system-defaults

1502842396458 addons.xpi DEBUG getModTime: Recursive scan of webc...@mozilla.org

1502842396458 addons.xpi DEBUG New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} in app-global

1502842396458 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}

1502842396458 addons.xpi DEBUG getInstallState changed: true, state: {"app-profile":{"fxdr...@googlecode.com":{"d":"/var/folders/fw/vhc93khn6sb6k_pt32v6s2c80000gn/T/anonymous4040896404388041170webdriver-profile/extensions/fxdri...@googlecode.com","st":1502842396000,"mt":1502842396000}},"app-system-defaults":{"aush...@mozilla.org":{"d":"/Applications/Firefox.app/Contents/Resources/browser/features/aush...@mozilla.org.xpi","st":1496948382000},"e10srollout...@mozilla.org":{"d":"/Applications/Firefox.app/Contents/Resources/browser/features/e10srollout@mozilla.org.xpi","st":1496948382000},"fir...@getpocket.com":{"d":"/Applications/Firefox.app/Contents/Resources/browser/features/firefox@getpocket.com.xpi","st":1496948382000},"scree...@mozilla.org":{"d":"/Applications/Firefox.app/Contents/Resources/browser/features/screenshots@mozilla.org.xpi","st":1496948383000},"webc...@mozilla.org":{"d":"/Applications/Firefox.app/Contents/Resources/browser/features/webcompat@mozilla.org.xpi","st":1496948383000}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/Applications/Firefox.app/Contents/Resources/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi","st":1496948382000}}}

1502842396467 addons.xpi-utils DEBUG Opening XPI database /var/folders/fw/vhc93khn6sb6k_pt32v6s2c80000gn/T/anonymous4040896404388041170webdriver-profile/extensions.json

1502842396468 addons.xpi-utils DEBUG New add-on fxdr...@googlecode.com installed in app-profile

*** Blocklist::_loadBlocklistFromFile: blocklist is disabled

1502842396484 addons.xpi WARN Add-on fxdr...@googlecode.com is not correctly signed.

1502842396484 addons.xpi WARN Add-on fxdr...@googlecode.com is not correctly signed.

1502842396487 DeferredSave.extensions.json DEBUG Save changes

1502842396488 addons.xpi-utils DEBUG New add-on aush...@mozilla.org installed in app-system-defaults

1502842396491 DeferredSave.extensions.json DEBUG Starting timer

1502842396494 DeferredSave.extensions.json DEBUG Save changes

1502842396494 addons.xpi-utils DEBUG New add-on e10sr...@mozilla.org installed in app-system-defaults

1502842396500 DeferredSave.extensions.json DEBUG Save changes

1502842396501 addons.xpi-utils DEBUG New add-on fir...@getpocket.com installed in app-system-defaults

1502842396506 DeferredSave.extensions.json DEBUG Save changes

1502842396506 addons.xpi-utils DEBUG New add-on scree...@mozilla.org installed in app-system-defaults

1502842396515 DeferredSave.extensions.json DEBUG Save changes

1502842396515 addons.xpi-utils DEBUG New add-on webc...@mozilla.org installed in app-system-defaults

1502842396521 DeferredSave.extensions.json DEBUG Starting write

1502842396526 DeferredSave.extensions.json DEBUG Save changes

1502842396526 DeferredSave.extensions.json DEBUG Data changed while write in progress

1502842396527 addons.xpi-utils DEBUG New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in app-global

1502842396531 DeferredSave.extensions.json DEBUG Save changes

1502842396532 addons.manager DEBUG Registering startup change 'installed' for fxdr...@googlecode.com

1502842396532 addons.xpi-utils DEBUG Make addon app-profil...@googlecode.com visible

1502842396532 DeferredSave.extensions.json DEBUG Save changes

1502842396532 addons.manager DEBUG Registering startup change 'installed' for aush...@mozilla.org

1502842396541 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/aushelper@mozilla.org.xpi

1502842396545 addons.xpi DEBUG Calling bootstrap method install on aush...@mozilla.org version 2.0

1502842396546 addons.xpi-utils DEBUG Make addon app-system-def...@mozilla.org visible

1502842396546 DeferredSave.extensions.json DEBUG Save changes

1502842396547 addons.manager DEBUG Registering startup change 'installed' for e10sr...@mozilla.org

1502842396547 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/e10srollout@mozilla.org.xpi

1502842396550 addons.xpi DEBUG Calling bootstrap method install on e10sr...@mozilla.org version 1.50

1502842396552 addons.xpi-utils DEBUG Make addon app-system-defaults:e10sr...@mozilla.org visible

1502842396552 DeferredSave.extensions.json DEBUG Save changes

1502842396552 addons.manager DEBUG Registering startup change 'installed' for fir...@getpocket.com

1502842396553 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/firefox@getpocket.com.xpi

1502842396557 addons.xpi DEBUG Calling bootstrap method install on fir...@getpocket.com version 1.0.5

1502842396557 addons.xpi-utils DEBUG Make addon app-system-de...@getpocket.com visible

1502842396557 DeferredSave.extensions.json DEBUG Save changes

1502842396558 addons.manager DEBUG Registering startup change 'installed' for scree...@mozilla.org

1502842396558 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/screenshots@mozilla.org.xpi

1502842396560 addons.xpi DEBUG Calling bootstrap method install on scree...@mozilla.org version 6.6.0

1502842396560 addons.xpi-utils DEBUG Make addon app-system-defaults:scree...@mozilla.org visible

1502842396561 DeferredSave.extensions.json DEBUG Save changes

1502842396561 addons.manager DEBUG Registering startup change 'installed' for webc...@mozilla.org

1502842396562 addons.xpi DEBUG Loading bootstrap scope from /Applications/Firefox.app/Contents/Resources/browser/features/webcompat@mozilla.org.xpi

1502842396564 addons.xpi DEBUG Calling bootstrap method install on webc...@mozilla.org version 1.1

1502842396564 addons.xpi-utils DEBUG Make addon app-system-def...@mozilla.org visible

1502842396564 DeferredSave.extensions.json DEBUG Save changes

1502842396565 addons.xpi-utils DEBUG Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd} visible

1502842396565 DeferredSave.extensions.json DEBUG Save changes

1502842396565 addons.xpi DEBUG Updating XPIState for {"id":"fxdr...@googlecode.com","syncGUID":"{283e2668-bda9-8740-b682-f392310c4bd7}","location":"app-profile","version":"3.4.0","type":"extension","internalName":null,"updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"icons":{},"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Firefox WebDriver","description":"WebDriver implementation for Firefox","creator":"Simon Stewart","homepageURL":null},"visible":true,"active":false,"userDisabled":false,"appDisabled":true,"descriptor":"/var/folders/fw/vhc93khn6sb6k_pt32v6s2c80000gn/T/anonymous4040896404388041170webdriver-profile/extensions/fxdri...@googlecode.com","installDate":1502842396000,"updateDate":1502842396000,"applyBackgroundUpdates":1,"bootstrap":false,"skinnable":false,"size":3303362,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":true,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"3.0","maxVersion":"48.0"}],"targetPlatforms":[{"os":"Darwin","abi":null},{"os":"SunOS","abi":null},{"os":"FreeBSD","abi":null},{"os":"OpenBSD","abi":null},{"os":"WINNT","abi":null},{"os":"Linux","abi":null}],"multiprocessCompatible":false,"signedState":0,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"mpcOptedOut":false,"userPermissions":null}

1502842396566 addons.xpi DEBUG Updating XPIState for {"id":"aush...@mozilla.org","syncGUID":"{25879e43-f6ac-d344-945c-6e28b9336684}","location":"app-system-defaults","version":"2.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":"/Applications/Firefox.app/Contents/Resources/browser/features/aush...@mozilla.org.xpi","installDate":1496948382000,"updateDate":1496948382000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":8486,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"54.0","maxVersion":"54.*"}],"targetPlatforms":[],"multiprocessCompatible":true,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"mpcOptedOut":false,"userPermissions":null}

1502842396566 addons.xpi DEBUG getModTime: Recursive scan of aush...@mozilla.org

1502842396567 addons.xpi DEBUG Updating XPIState for {"id":"e10sr...@mozilla.org","syncGUID":"{cc5e2509-5526-6943-bbbb-ef8a05ee535c}","location":"app-system-defaults","version":"1.50","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":"/Applications/Firefox.app/Contents/Resources/browser/features/e10sr...@mozilla.org.xpi","installDate":1496948382000,"updateDate":1496948382000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":12517,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"54.0","maxVersion":"54.*"}],"targetPlatforms":[],"multiprocessCompatible":true,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"mpcOptedOut":false,"userPermissions":null}

1502842396567 addons.xpi DEBUG getModTime: Recursive scan of e10sr...@mozilla.org

1502842396567 addons.xpi DEBUG Updating XPIState for {"id":"fir...@getpocket.com","syncGUID":"{56300b07-061a-c548-990e-c298a3fb66f3}","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":"/Applications/Firefox.app/Contents/Resources/browser/features/fir...@getpocket.com.xpi","installDate":1496948382000,"updateDate":1496948382000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":913904,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"54.0","maxVersion":"54.*"}],"targetPlatforms":[],"multiprocessCompatible":true,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"mpcOptedOut":false,"userPermissions":null}

1502842396567 addons.xpi DEBUG getModTime: Recursive scan of fir...@getpocket.com

1502842396567 addons.xpi DEBUG Updating XPIState for {"id":"scree...@mozilla.org","syncGUID":"{a15104e3-f73c-1c47-add0-0529c85084e8}","location":"app-system-defaults","version":"6.6.0","type":"extension","internalName":null,"updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"icons":{},"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Firefox Screenshots","description":null,"creator":null,"homepageURL":"https://pageshot.net/"},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"/Applications/Firefox.app/Contents/Resources/browser/features/scree...@mozilla.org.xpi","installDate":1496948383000,"updateDate":1496948383000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":716271,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"51.0a1","maxVersion":"*"}],"targetPlatforms":[],"multiprocessCompatible":true,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"mpcOptedOut":false,"userPermissions":null}

1502842396568 addons.xpi DEBUG getModTime: Recursive scan of scree...@mozilla.org

1502842396568 addons.xpi DEBUG Updating XPIState for {"id":"webc...@mozilla.org","syncGUID":"{e2d44956-2b1f-5845-8478-1f73947c9d78}","location":"app-system-defaults","version":"1.1","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":"/Applications/Firefox.app/Contents/Resources/browser/features/webc...@mozilla.org.xpi","installDate":1496948383000,"updateDate":1496948383000,"applyBackgroundUpdates":1,"bootstrap":true,"skinnable":false,"size":9004,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"54.0","maxVersion":"54.*"}],"targetPlatforms":[],"multiprocessCompatible":true,"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"mpcOptedOut":false,"userPermissions":null}

1502842396568 addons.xpi DEBUG getModTime: Recursive scan of webc...@mozilla.org

1502842396568 addons.xpi DEBUG Updating XPIState for {"id":"{972ce4c6-7e08-4474-a285-3208198ce6fd}","syncGUID":"{fef18c00-911f-a74c-9d71-816c624f12ad}","location":"app-global","version":"54.0","type":"theme","internalName":"classic/1.0","updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"icons":{},"iconURL":"chrome://browser/content/default-theme-icon.svg","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":"/Applications/Firefox.app/Contents/Resources/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi","installDate":1496948382000,"updateDate":1496948382000,"applyBackgroundUpdates":1,"skinnable":true,"size":3908,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"54.0","maxVersion":"54.0"}],"targetPlatforms":[],"seen":true,"dependencies":[],"hasEmbeddedWebExtension":false,"userPermissions":null}

1502842396569 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}

1502842396571 DeferredSave.extensions.json DEBUG Save changes

1502842396572 addons.xpi DEBUG Updating database with changes to installed add-ons

1502842396572 addons.xpi-utils DEBUG Updating add-on states

1502842396573 addons.xpi-utils DEBUG Writing add-ons list

1502842396575 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/aushelper@mozilla.org.xpi

1502842396575 addons.xpi DEBUG Calling bootstrap method startup on aush...@mozilla.org version 2.0

1502842396576 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/e10srollout@mozilla.org.xpi

1502842396576 addons.xpi DEBUG Calling bootstrap method startup on e10sr...@mozilla.org version 1.50

1502842396577 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/firefox@getpocket.com.xpi

1502842396578 addons.xpi DEBUG Calling bootstrap method startup on fir...@getpocket.com version 1.0.5

1502842396579 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/screenshots@mozilla.org.xpi

1502842396579 addons.xpi DEBUG Calling bootstrap method startup on scree...@mozilla.org version 6.6.0

1502842396580 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/webcompat@mozilla.org.xpi


================================

SeleniumWhat?

unread,
Aug 16, 2017, 9:12:27 AM8/16/17
to Serenity BDD Users Group

Hi Aleksandr
    Thanks a lot for your detailed step-by step instructions of how to configure the browser.  I really appreciate your time your expertise.
     I did just what you recommended.  I took the second approach which is:
      1 -  Downloaded the latest Gecko driver and set the system $PATH to it.  I have Apple laptop.
      2 -  Downloaded two versions of Firefox: v45.x and v55.x and set the system $PATH to them. 
            I need to test against these two different version.  So I renamed them something like firefox45.app and firefox55.app.  Then I made a copy of , let say, firefox55.app to firefox.app.  I switch back and forth between these two versions and wanted to see if Serenity is able to load them or not.
      3 -  In the "serenity.properties" file, I set "webdriver.driver=firefox". To make sure that  execution also can pick up the web driver directly, I specified, in the POM, as you recommended, this entry "<webdriver.driver>firefox<,/webdriver.driver> .  The base URL property is also set , in POM.xm and in serenity.properties, to the website I want to test.  They are all good.

        Now, when I start a gherkin script I can see that Serenity is able to see my firefox setting, it brings up the firefox browser v55.x, but the it failed to initialize the web driver, therefore it bombed out.
        Then I switched the firefox version to v45 and ran again.  This time it worked just fine.  There are a few warnings about javascript but these warnings/errors do not have affect on how Serenity sees the settings.
        The fact that Serentiy was able to bring up the firefox browser v45 and v55 means that my $PATH setting was correct.  Serenity can find the location where the target firefox browser is located.  Now, one last thing I need to check is the setting of the  system path to the Gecko driver.  I'm at work at this moment so I'm not able to verify that.   I'll take a look at it when I get home.  I think the problem lies with the Gecko's system path.(?)  If Serenity fails to find the Gecko driver, then it won't be able to initialize the firefox v55.x who needs to have the Gecoko Driver to initialize it.  I hope this is the case.  Other than this I don't know where else I can look.   Sad... very sad!.... :-)
         Again I appreciate your tips Aleksandr!
        I'll let you know what I found.  I'll post my POM.xml as well so you can help look at it.  I did modify the POM.xml file from the sample POM.xml that John Smart used for his project.  There are a few things that I do not need so I removed them from my POM.xml.
         J.N 
         
     

John Smart

unread,
Aug 16, 2017, 10:28:21 AM8/16/17
to SeleniumWhat?, Serenity BDD Users Group
It will be complicated to test two versions of Firefox from the same machine - a remote server setup would be more practical for this.

--
You received this message because you are subscribed to the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-users+unsubscribe@googlegroups.com.
To post to this group, send email to thucydides-users@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

SeleniumWhat?

unread,
Aug 16, 2017, 7:52:55 PM8/16/17
to Serenity BDD Users Group

Hi John,
  I started everything over with your demo project.
  It complains about missing a library so I downloaded and installed the library ("selenium-api-2.53.1.jar") from selenium.  it got passed the error.
  I tried to run again and I got this error:

 Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class net.thucydides.core.webdriver.SupportedWebDriver

at net.thucydides.core.configuration.SystemPropertiesConfiguration.lookupSupportedDriverTypeFor(SystemPropertiesConfiguration.java:261)


I read an old message on this board and found this issue.  A few guys was saying you need to remove the "selenium-java" lib  but I'm not sure about it!!!!

Any idea what the error message is?

Thanks 

J.N

SeleniumWhat?

unread,
Aug 16, 2017, 11:15:52 PM8/16/17
to Serenity BDD Users Group


Hi John

  How you define the "System.setProperty("webdriver.gecko.driver", "<path>geckodriver.exe");" ?

  I have Gecko driver (geckodriver.exe) placed under "/Applications/GeckoDriver" folder  ... so I guess you must have coded so that the "System.setProperty" can be set based on the $PATH?  Something like this  "System.setProperty("webdriver.gecko.driver", <geckodriver.exe(found in the $PATH)>);" ?

  Is there a way you can help to bring this setting to "serenity.properties" file and let the Serenity get the value from the file?

  The following error message suggests that the Serenity found the Firefox driver, but somehow it couldn't initialize it because it does not know where the geckodriver.exe is?

  ERROR net.thucydides.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class org.openqa.selenium.firefox.FirefoxDriver: Could not instantiate new WebDriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.

  Just curious... and would like to know how you coded the initialization of the web driver!!
  Thanks John!
  J.N

  

John Smart

unread,
Aug 17, 2017, 2:18:58 AM8/17/17
to SeleniumWhat?, Serenity BDD Users Group
The NoClassDefFoundError comes from the fact that you have added Selenium 2.53.1. Serenity 1.5.x is compatible with (and comes with) Selenium 3.4, which is not backward compatible with older versions of Selenium. You shouldn't need to add any dependencies to the demo project, as it should run out of the box.

Regarding the gecko driver, download the latest version of the gecko driver binary for your OS from https://github.com/mozilla/geckodriver/releases, and place it on your system path, or set the webdriver.gecko.driver property to the path to the executable using -Dwebdriver.gecko.driver=/path/to/geckodriver or in your serenity.properties (not the recommended approach). Do not do this programmatically - it will make your tests environment-dependent. 


--
You received this message because you are subscribed to the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-users+unsubscribe@googlegroups.com.
To post to this group, send email to thucydides-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

SeleniumWhat?

unread,
Aug 18, 2017, 2:55:23 PM8/18/17
to Serenity BDD Users Group, nguye...@yahoo.com

Thanks John for the tips. 
I was trying to shoot a squirrel with a dart in a dark room :-).  Obviously not sure what lib is missing and what is compatible or not.  I install the lib because someone - on the net - suggested that it need that lib. :-).
I'll try other tips that you gave.
But for now I need to wipe out all of my .m2 repo.  It got messed up so bad with all of the conflicting libs.  :-)
Thanks John!  And will let you know how it goes.
J.N
Reply all
Reply to author
Forward
0 new messages