-
Notifications
You must be signed in to change notification settings - Fork 40
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
How to display the data in "os" column and "browser" column #177
Comments
@dharnapahuja Here is a example how the platform is "detected" const capabilities = await browser.getCapabilities();
let os: capabilities.get("platform") || capabilities.get("platformName") As you can see if the webdrivers return wrong values than there is nothing I can do about it... About the browsers version there something I can do because it seems that sometimes the value is capabilities.get("version") and sometime capabilities.get("browserVersion") |
I just noticed webdrivers differ in how they report the plaform e.g. firefox (geckodriver) reports "windows" and chrome reports "windows nt". |
I run protractor locally but the tests run on sauce labs. If you could fix the browser for now, that would be great. |
Also, is there no way logs can be supported on all other browsers as well? I know that logs are only working on Chrome as of now |
@dharnapahuja I put up an own issue for browerslogs...maybe I find out how this can be done with firefox in the future. |
@dharnapahuja The issue with browser version is now fixed in version 1.3.3 |
@dharnapahuja I does not look good for having logs from firefox. The basic discussions are not finished in geckodriver repo: mozilla/geckodriver#284 |
Browser version and OS is fixed (as far as its possible from reporters perspective) |
I am generating a report for my tests and I notice that the browser name appears correctly, but no version number appears next to it. Also, the os column shows "ANY", whereas I specify the platform as macOS X.
I want to be able to display this data for safari, chrome, edge and Firefox. How can I do that?
The text was updated successfully, but these errors were encountered: