Open Bug 1482807 Opened 3 years ago Updated 9 months ago

:screenshot - selector only matches top-level target elements

Categories

(DevTools :: Console, defect, P3)

defect

Tracking

(firefox62 affected, firefox63 affected)

Tracking Status
firefox62 --- affected
firefox63 --- affected

People

(Reporter: cfogel, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

[Affected versions]:
- 62.0b16, 63.0a1 (2018-08-12)

[Affected platforms]:
- all

[Steps to reproduce]:
1. Launch Firefox;
2. Open devTools - console tab;
3. Type in the following commands and press Enter key after each:

3.a :screenshot --section h2 
on https://www.mozilla.org/en-US/firefox/63.0a1/whatsnew/?oldversion=62.0
3.b :screenshot --selector yt-img-shadow  
on https://www.youtube.com/ 
3.c selector not picking up animated elements for multi in <ball multi> on  
https://rawgit.com/dadaa/3b73f847427025b51ba1ab7333013d0c/raw/77f3f0bb884875a179c3407f73bf8a8dd54751c9/doc_simple_animation.html
3.d classes inside iframes are ignored by the select option;

[Expected result]:
- no issues occur;

[Actual results]:
3.a whole body saved instead of only the h2 section;
3.b snapshot saved in unsupported format;
3.c any of the animated divs are not saved;
3.d trying to select classes inside iframes does nothing;

[Regression range]:
- not a regression

[Additional notes]:
- for more info please check
 https://bugzilla.mozilla.org/show_bug.cgi?id=1464461#c145
Blocks: 1464461
Blocks: 1483143
No longer blocks: 1464461
Priority: -- → P3

This will be fixed when we enable the context selector

Summary: :screenshot - selector option issues → :screenshot - selector only matches top-level target elements
You need to log in before you can comment on or make changes to this bug.