Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestSwarm does not recognize your browser (Firefox v15 for Linux) #227

Closed
chrisbenseler opened this issue Sep 4, 2012 · 7 comments
Closed

Comments

@chrisbenseler
Copy link

browscap: Array ( [Platform] => Linux [Browser] => Firefox [Version] => 15.0 [MajorVer] => 15 [MinorVer] => 0 )
User-Agent string: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:15.0) Gecko/20100101 Firefox/15.0
@Krinkle
Copy link
Member

Krinkle commented Sep 4, 2012

As you can see, it is recognized just fine.

Add it to your browserSet if you want to test for it.

The default browserSet is outdated, and is just a sample. There is no need for us to keep updating it with each browser release. The browscap parser is auto-updating and recognizes new browsers automatically. The only thing that doesn't auto-update is your configuration. The browserSet configuration to be exact.

It is recommended to have your own browserSet configuration (instead of using the default), so you know what browsers you want to test for (since we don't decide what audience you have and what browsers your application needs testing in).

For example.

--- testswarm.json
{
    "browserSets": {
        "iCareAboutTheseBrowsers": [
            "Chrome|21",
            "Firefox|15",
            "IE|9",
            "IE|10",
            "Opera|12|0",
            "Safari|5|1"
        ]
    }
}

And when submitting jobs use that browserSet name.

@Krinkle Krinkle closed this as completed Sep 4, 2012
@chrisbenseler
Copy link
Author

Sorry, I just followed up instructions on the main Testswarm page.

@Krinkle
Copy link
Member

Krinkle commented Sep 4, 2012

Ah, I see what you mean. The phrasing is confusing. Let me correct that.

What it should say "This swarm is not configured to test in your browser. Please join with one the below browsers.".

@pharmaline
Copy link

hi guys,
if i use the Example Code above i got this Error:

TestSwarm Fatal: Invalid browser ID "Safari|6|0" in browser set "iCareAboutTheseBrowsers"!

What is the correct Syntax for the Browser ID?

@s-a
Copy link
Contributor

s-a commented Sep 16, 2012

I have the same problem as pharmaline.

@s-a
Copy link
Contributor

s-a commented Sep 16, 2012

Well, I just hacked this out.

  • open ./config/useragents.ini
  • add you missing browser entry

In my case

[Chrome|21]
displaytitle = "Chrome 21"
displayicon  = "chrome"

@pharmaline
Copy link

yupp that`s it ;-)

Krinkle added a commit that referenced this issue Sep 17, 2012
Issues:
* Fixes #226
* Closes #227
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants