question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unnecessary count property in capabilities causes failure when sending request to AWS Device Farm

See original GitHub issue
[07:47:10] E/launcher - Create Session request doesn't have capabilities defined. Request was {"desiredCapabilities":{"browserName":"chrome","count":1}}.

count property is not part of Selenium or webdriver capabilites config objects & causes issue here. Is it possible to remove it in the request or is there a way to not populate it?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
gokhanonercommented, Mar 17, 2020

@aleenadavy90 yes, issue was AWS Device Farm expect you to send capabilities, not desiredCapabilities defined, which is part of the W3C Standard. However, this standard is only supported in Selenium 4 + Protractor 6. So you need to use Protractor 6 to use AWS Device Farms, it has nothing to do with count property. As the error message saying: Create Session request doesn't have capabilities defined

0reactions
gokhanonercommented, Mar 27, 2020

Thanks @aleenadavy90 , for sharing the workaround. I’ll give it a try as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Device Farm errors
Troubleshooting Device Farm errors. PDF. In this section, you will find error messages and procedures to help you fix common problems with Device...
Read more >
AWS Device Farm Documentation - API Reference
All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected...
Read more >
devicefarm - Amazon Web Services - Go SDK
DeviceFarm provides the API operation methods for making requests to AWS Device Farm. See this package's package overview docs for details on the...
Read more >
Class: AWS.DeviceFarm — AWS SDK for JavaScript
Creates a signed, short-term URL that can be passed to a Selenium RemoteWebDriver constructor. . createUpload(params = {}, callback) ⇒ AWS.
Read more >
AWS Device Farm FAQs | Mobile & Web App Testing
AWS Device Farm accelerates the development process by executing tests on multiple devices, giving developers, QA and support professionals the ability to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found