X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

screenshot command no longer works in FF18

Posted

I used screenshot command fairly heavily to capture the entire webpage, but upon updating to FF18, the command is broken.

I can still do very simple things like "screenshot test.png", but anything more complicated than that will result in a prompt saying too many arguments. However, "help screenshot" clearly says I should be able to append lots of arguments after that, just as FF17.

I am not sure if I am the only one having the problem, and I'd like to know if anyone else encountered the same issue. Thanks.

Modified by wujj123456

Chosen solution

This was filed as a bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=832549

However, it's not a bug -- just not documented well enough. You need to use "--" before any parameters.

i.e. "screenshot filename --fullpage"

Read this answer in context 5

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.2 r202
  • Google Talk Plugin Video Accelerator version:0.1.44.23
  • Version: 3.10.2.0
  • This plugin provides integration with Gnome Shell for live extension enabling and disabling. It can be used only by extensions.gnome.org

Application

  • User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0

More Information

Tested both on Windows 7 64-bit and Ubuntu 12.04 64-bit. I am using the default stable release in both cases (auto updated from FF17).
I also tried the command in safe mode with all addons disable. Same problem.
Application Basics
Name
Firefox
Version
18.0
User Agent
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0
Build Configuration
about:buildconfig
Extensions
Name
Version
Enabled
ID
Adblock Plus
2.2.1
true
{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
AutoPager
0.8.0.8
true
autopager@mozilla.org
Certificate Patrol
2.0.14
true
CertPatrol@PSYC.EU
Disable Ctrl-Q Shortcut
20120821
true
dcqs@moongiraffe.net
Download Statusbar
0.9.10
true
{D4DD63FA-01E4-46a7-B6B1-EDAB7D6AD389}
DownThemAll!
2.0.15
true
{DDC359D1-844A-42a7-9AA1-88A850A938A8}
Easy YouTube Video Downloader
6.7
true
{c0c9a2c7-2e5c-4447-bc53-97718bc91e1b}
Echofon
2.5.2
true
twitternotifier@naan.net
Facebook Disconnect
2.1.3
true
facebook@disconnect.me
FireGestures
1.6.19
true
firegestures@xuldev.org
Ghostery
2.8.4
true
firefox@ghostery.com
Google Shortcuts
2.1.7.1
true
{5C46D283-ABDE-4dce-B83C-08881401921C}
Greasemonkey
1.6
true
{e4a8a97b-f2ed-450b-b12d-ee082ba24781}
HTTPS-Everywhere
3.1.2
true
https-everywhere@eff.org
LeechBlock
0.6.3
true
{a95d8332-e4b4-6e7f-98ac-20b733364387}
NoScript
2.6.4.2
true
{73a6fe31-595d-460b-a920-fcc0f8843232}
Open In Chrome
1.4.0
true
openinchrome@griffeltavla.wordpress.com
Pocket
3.0.1
true
isreaditlater@ideashower.com
RefControl
0.8.16
true
{455D905A-D37C-4643-A9E2-F6FEFAA0424A}
Twitter Disconnect
2.1.2
true
twitter@disconnect.me
Global Menu Bar integration
3.6.4
false
globalmenu@ubuntu.com
Ubuntu Firefox Modifications
2.6
false
ubufox@ubuntu.com
Important Modified Preferences
Name
Value
accessibility.typeaheadfind.flashBar
0
browser.cache.disk.capacity
1048576
browser.cache.disk.parent_directory
/tmp/firefox
browser.cache.disk.smart_size_cached_value
317440
browser.cache.disk.smart_size.enabled
false
browser.cache.disk.smart_size.first_run
false
browser.cache.disk.smart_size.use_old_max
false
browser.cache.memory.capacity
1048576
browser.cache.memory.max_entry_size
51200
browser.places.smartBookmarksVersion
4
browser.privatebrowsing.dont_prompt_on_enter
true
browser.startup.homepage
about:home
browser.startup.homepage_override.buildID
20130107224849
browser.startup.homepage_override.mstone
18.0
browser.tabs.loadDivertedInBackground
true
browser.tabs.warnOnOpen
false
dom.popup_maximum
100
extensions.lastAppVersion
18.0
network.cookie.prefsMigrated
true
places.database.lastMaintenance
1357781679
places.history.expiration.max_pages
16384
places.history.expiration.transient_current_max_pages
16384
privacy.clearOnShutdown.cache
false
privacy.clearOnShutdown.cookies
false
privacy.clearOnShutdown.history
false
privacy.clearOnShutdown.sessions
false
privacy.cpd.offlineApps
true
privacy.cpd.siteSettings
true
privacy.donottrackheader.enabled
true
privacy.sanitize.migrateFx3Prefs
true
privacy.sanitize.timeSpan
0
security.warn_viewing_mixed
false
Graphics
Adapter Description
Intel Open Source Technology Center -- Mesa DRI Intel(R) Sandybridge Mobile
Device ID
Mesa DRI Intel(R) Sandybridge Mobile
Driver Version
3.0 Mesa 9.0
GPU Accelerated Windows
0/1 Basic no information
Vendor ID
Intel Open Source Technology Center
WebGL Renderer
Intel Open Source Technology Center -- Mesa DRI Intel(R) Sandybridge Mobile
AzureCanvasBackend
cairo
AzureContentBackend
none
AzureFallbackCanvasBackend
none
JavaScript
Incremental GC
true
Accessibility
Activated
true
Prevent Accessibility
0
Library Versions
Expected minimum version
Version in use
NSPR
4.9.4
4.9.4
NSS
3.14.1.0 Basic ECC
3.14.1.0 Basic ECC
NSSSMIME
3.14.1.0 Basic ECC
3.14.1.0 Basic ECC
NSSSSL
3.14.1.0 Basic ECC
3.14.1.0 Basic ECC
NSSUTIL
3.14.1.0
3.14.1.0

iamjayakumars
  • Top 10 Contributor
415 solutions 4924 answers

Are you using any Linux tools to capture screenshot or pressing the button prtsrc

Helpful Reply

No. I am not using any external tool, nor hitting print screen key. I just brought up the command line interface with Shift+F2 and start typing commands, as I always do in FF17.

After FF introduced screenshot command, I've removed all screenshot addons, and solely relied on this command to capture webpages. This is really a fantastic command for my use case (as a non web dev).

Command in action: https://hacks.mozilla.org/2012/08/new-firefox-command-line-helps-you-develop-faster/

My problem is that what used to work in FF17 no longer works after I upgraded to FF18. I am just not sure if it's my problem, or a bug. This breakage looks really obvious, and is unlikely to slip through FF's test team in my opinion. So I'd like to know if anyone is having the same problem...

Modified by wujj123456

janger 1 solutions 1 answers

Chosen Solution

This was filed as a bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=832549

However, it's not a bug -- just not documented well enough. You need to use "--" before any parameters.

i.e. "screenshot filename --fullpage"

Question owner

Thank you very much, janger. You made my day. Hope Mozilla will improve the documentation in the next version.

cor-el
  • Top 10 Contributor
  • Moderator
10749 solutions 96724 answers

You can enter "screenshot --" without quotes on the Developer toolbar to see the options help.

ulrich1959 0 solutions 1 answers

Hello,

this is my first post here, and English isn't my native language.

I had a similar problem with the FF Add-On Awesome Screenshots, since automatically upgrade from FF 17 to FF 18. And unfortunately only a very rough solution.

The Add-On seemed to work, but I can't save the images to my harddisk. I did the mozilla plugin-check with mysterious results, Java and flash-plugins should be outdated, but weren't. Nevertheless I did a reinstall of these plugins. Pluginchecker allways said they were to old. After a third hit to the pluginchecker, it aknowledged the plugins as new.

But nothing helps for the screenshot problem. As next step I deactivated all security add-ons and did a restart. No improvement. Awesome Screenshots couldn't saved images to HD.

At least I uninstalled FF 18 and reinstalled FF 17 what should I say : no longer problems to save the Awesome Screenshots to HD, nor with activated Add-Ons nor without.

So my conclusion this Add-On AWESOME SCREENSHOTS v 2.3.8 is no longer compatible with FF 18. Still until this moment. At the moment is FF 17 my first choice, because also the bookmark (?) ( say it in german 'Lesezeichen') function don't work properly with all websites in FF18.

Modified by ulrich1959

cor-el
  • Top 10 Contributor
  • Moderator
10749 solutions 96724 answers

This thread isn't about an extension, but about using a build-in Firefox feature via the Developer Toolbar to save a complete web page as a PNG file to disk.

  • Web Developer > Developer Toolbar

The default file name is "Screen Shot yyyy-mm-dd at HH.MM.SS.png" in download directory.

help screenshot
screenshot --
screenshot --fullpage test_fullpage.png
screenshot --clipboard true --delay 5

Current Firefox versions have a lot of web developer tools build-in.

This page needs an update:

We have seen more reports that extensions that make screenshots aren't working properly, so you will have to wait for an update that fixes this.

Modified by cor-el

susbox 0 solutions 1 answers

Though this does not solve your problem, it might be useful for you and the other visitors until the problem is fixed - screenshot addon named FireShot does the job just fine: https://addons.mozilla.org/en-US/firefox/addon/fireshot/