Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Status-Untriaged

New issue 6536 by bino...@gmail.com: FirefoxDriver log content does not
look correct when calling wd.manage().logs()
http://code.google.com/p/selenium/issues/detail?id=6536


What steps will reproduce the problem?
1. open the attached page in FirefoxDriver
2. run the java test code as shown


What is the expected output? What do you see instead?

When the page is done loading after get(), I expect exactly two errors (due
to the console.error() calls )

I verified that the Web console in Firefox reports what I expect

[14:02:12.253] "Log Message"
[14:02:12.253] "Info Message"
[14:02:12.254] "Warn Message"
[14:02:12.254] "Error Message"
[14:02:12.254] "Warn Message2"
[14:02:12.254] "Info Message2"
[14:02:12.254] "Error Message2"


Yet when I call

      driver.get(testpage);
      driver.manage().logs().get(LogType.BROWSER);


I get the following, which does not contain the error messages I threw with
console.error etc, so my assertions about count of error message with level
SEVERE fails


This works fine on Chrome


[2013-11-06T14:02:09-0500] [INFO] Could not read chrome
manifest 'file:///c:/projectDir/core/target/it-browserInstallRoot/firefox-release/chrome.manifest'.

[2013-11-06T14:02:09-0500] [INFO] LOG addons.xpi: startup

[2013-11-06T14:02:09-0500] [INFO] LOG addons.xpi: Skipping unavailable
install location app-system-local

[2013-11-06T14:02:09-0500] [INFO] LOG addons.xpi: Skipping unavailable
install location app-system-share

[2013-11-06T14:02:09-0500] [INFO] LOG addons.xpi: Ignoring file entry whose
name is not a valid add-on ID:
C:\Users\AUSER\AppData\Local\Temp\anonymous8323614602719530437webdriver-profile\extensions\webdriver-staging

[2013-11-06T14:02:09-0500] [INFO] LOG addons.xpi: checkForChanges

[2013-11-06T14:02:09-0500] [INFO] LOG addons.xpi: No changes found

[2013-11-06T14:02:09-0500] [WARNING] Trying to re-register
CID '{e26dbdcd-d3ba-4ded-88c3-6cb07ee3e9e0}' already registered by
file:///C:/Users/AUSER/AppData/Local/Temp/anonymous8323614602719530437webdriver-profile/extensions/fxdriver@googlecode.com/components/prompt_service.js.
[2013-11-06T14:02:09-0500] [INFO] Native module at
path 'C:\Users\AUSER\AppData\Local\Temp\anonymous8323614602719530437webdriver-profile\extensions\fxdriver@googlecode.com\platform\WINNT_x86-msvc\components\imehandler.dll'
doesn't export symbol `NSModule`.

[2013-11-06T14:02:09-0500] [INFO] Could not read chrome
manifest 'file:///c:/projectDir/core/target/it-browserInstallRoot/firefox-release/browser/extensions/%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D/chrome.manifest'.

[2013-11-06T14:02:09-0500] [INFO] While creating services from
category 'profile-after-change', could not create service for entry 'Disk
Space Watcher Service', contract
ID '@mozilla.org/toolkit/disk-space-watcher;1'

[2013-11-06T14:02:09-0500] [INFO] Blocklist::_loadBlocklistFromFile:
blocklist is disabled

[2013-11-06T14:02:09-0500] [INFO] Warning: unrecognized command line flag
-foreground

[2013-11-06T14:02:11-0500] [INFO] PAC file installed from
http://inside-files/fs/cache.pac

[2013-11-06T14:02:11-0500] [WARNING] Unknown property '-moz-box-shadow'.
Declaration dropped.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Unknown property '-moz-box-shadow'.
Declaration dropped.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected end of value but found '0'.
Error in parsing value for 'padding-left'. Declaration dropped.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected media feature name but
found '-webkit-min-device-pixel-ratio'.
[2013-11-06T14:02:11-0500] [WARNING] Expected media feature name but
found '-webkit-min-device-pixel-ratio'.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Unknown pseudo-class or
pseudo-element '-ms-clear'. Ruleset ignored due to bad selector.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Unknown property 'zoom'. Declaration
dropped.
[2013-11-06T14:02:11-0500] [WARNING] Unknown pseudo-class or
pseudo-element 'selected'. Ruleset ignored due to bad selector.
[2013-11-06T14:02:11-0500] [WARNING] Error in parsing value
for 'background-position'. Declaration dropped.
[2013-11-06T14:02:11-0500] [WARNING] Unknown property 'zoom'. Declaration
dropped.
[2013-11-06T14:02:11-0500] [WARNING] Error in parsing value for 'filter'.
Declaration dropped.
[2013-11-06T14:02:11-0500] [WARNING] Unknown property 'zoom'. Declaration
dropped.
[2013-11-06T14:02:11-0500] [WARNING] Error in parsing value for 'width'.
Declaration dropped.
[2013-11-06T14:02:11-0500] [WARNING] Unknown property 'zoom'. Declaration
dropped.
[2013-11-06T14:02:11-0500] [WARNING] Unknown property 'xmargin-left'.
Declaration dropped.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Unknown property 'zoom'. Declaration
dropped.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Unknown property 'zoom'. Declaration
dropped.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected end of value but
found '\30 '. Error in parsing value for 'border-right'. Declaration
dropped.
[2013-11-06T14:02:11-0500] [WARNING] Error in parsing value
for 'margin-right'. Declaration dropped.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Expected declaration but found '*'.
Skipped to next declaration.
[2013-11-06T14:02:11-0500] [WARNING] Error in parsing value
for 'background'. Declaration dropped.
[2013-11-06T14:02:11-0500] [WARNING] Error in parsing value
for 'background'. Declaration dropped.
[2013-11-06T14:02:11-0500] [WARNING] Error in parsing value
for 'background'. Declaration dropped.
[2013-11-06T14:02:11-0500] [WARNING] Error in parsing value
for 'background'. Declaration dropped.
[2013-11-06T14:02:11-0500] [WARNING] Error in parsing value for 'filter'.
Declaration dropped.
[2013-11-06T14:02:11-0500] [WARNING] Error in parsing value
for 'background'. Declaration dropped.
[2013-11-06T14:02:11-0500] [WARNING] Error in parsing value
for 'background'. Declaration dropped.
[2013-11-06T14:02:11-0500] [WARNING] Error in parsing value
for 'background'. Declaration dropped.
[2013-11-06T14:02:11-0500] [WARNING] Error in parsing value
for 'background'. Declaration dropped.
[2013-11-06T14:02:11-0500] [WARNING] Error in parsing value for 'filter'.
Declaration dropped.
[2013-11-06T14:02:11-05...




Selenium version: 2.37
OS: Win7
Browser: Firefox
Browser version: 24


Please provide any additional information below. A sample reduced test
case, or a public URL that demonstrates the problem will intrigue our merry
band of Open Source developers far more than nothing at all: they'll be far
more likely to look at your problem if you make it easy for them!

see attached test page

Attachments:
  testpage.html 736 bytes

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Selenium Developer Activity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developer-activity+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-developer-activity@googlegroups.com.
Visit this group at http://groups.google.com/group/selenium-developer-activity.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Selenium at Nov 20, 2013 at 7:56 am
    Updates:
      Labels: Browser-Firefox

    Comment #1 on issue 6536 by barancev: FirefoxDriver log content does not
    look correct when calling wd.manage().logs()
    http://code.google.com/p/selenium/issues/detail?id=6536

    Reproduced

    --
    You received this message because this project is configured to send all
    issue notifications to this address.
    You may adjust your notification preferences at:
    https://code.google.com/hosting/settings

    --
    You received this message because you are subscribed to the Google Groups "Selenium Developer Activity" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developer-activity+unsubscribe@googlegroups.com.
    To post to this group, send email to selenium-developer-activity@googlegroups.com.
    Visit this group at http://groups.google.com/group/selenium-developer-activity.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Selenium at Jan 20, 2014 at 3:39 pm
    Comment #2 on issue 6536 by bino...@gmail.com: FirefoxDriver log content
    does not look correct when calling wd.manage().logs()
    http://code.google.com/p/selenium/issues/detail?id=6536

    any updates?

    --
    You received this message because this project is configured to send all
    issue notifications to this address.
    You may adjust your notification preferences at:
    https://code.google.com/hosting/settings

    --
    You received this message because you are subscribed to the Google Groups "Selenium Developer Activity" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developer-activity+unsubscribe@googlegroups.com.
    To post to this group, send email to selenium-developer-activity@googlegroups.com.
    Visit this group at http://groups.google.com/group/selenium-developer-activity.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Selenium at Jun 5, 2015 at 7:20 pm
    Comment #3 on issue 6536 by jay.u...@workiva.com: FirefoxDriver log content
    does not look correct when calling wd.manage().logs()
    https://code.google.com/p/selenium/issues/detail?id=6536

    seeing the issue with;

    Selenium version: 2.45
    OS: OSX
    Browser: Firefox
    Browser version: 33

    --
    You received this message because this project is configured to send all
    issue notifications to this address.
    You may adjust your notification preferences at:
    https://code.google.com/hosting/settings

    --
    You received this message because you are subscribed to the Google Groups "Selenium Developer Activity" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developer-activity+unsubscribe@googlegroups.com.
    To post to this group, send email to selenium-developer-activity@googlegroups.com.
    Visit this group at http://groups.google.com/group/selenium-developer-activity.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupselenium-developer-activity @
categoriesselenium
postedNov 6, '13 at 7:12p
activeJun 5, '15 at 7:20p
posts4
users1
websiteseleniumhq.org

1 user in discussion

Selenium: 4 posts

People

Translate

site design / logo © 2021 Grokbase