Using Vivaldi headless for screenshots -



  • Vivaldi 2.8.1664.40 (Stable channel) (32-bit)
    Revision 3ceb1e00616d447249d27368e347561bc737a2e0
    OS Linux
    JavaScript V8 7.7.299.11
    Flash (Disabled)
    User Agent Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.93 Safari/537.36 Vivaldi/2.8.1664.40
    Command Line /usr/bin/vivaldi-stable --user-data-dir=/root/.config/vivaldi --no-sandbox --flag-switches-begin --flag-switches-end --save-page-as-mhtml
    Executable Path /opt/vivaldi/vivaldi
    Profile Path /root/.config/vivaldi/Default

    YES it's running as root with no sandbox


    I'm trying (amongst other options) to use vivaldi headless to capture a bunch of screenshots of Twitter bios.

    If I try it without the user data directory specified, like so:

    vivaldi-stable --headless  --no-sandbox --disable-gpu  --window-size=1200,900 --screenshot https://twitter.com/teamvivaldi
    

    then I get this:screenshot.png image url)

    If i try it with the user data directory specified, thus:

    vivaldi-stable --user-data-dir=/root/.config/vivaldi/ --headless  --no-sandbox --disable-gpu  --window-size=1200,900 --screenshot https://twitter.com/vivaldibrowser
    

    (in the hope that it will pick up my login), I just get this:

    birbonly.png

    Even more confusing to me is that when I'm operating Vivaldi manually on twitter, the bio view I get is this (which is ideal because the bio can be clipped out as a neat square(ish))

    viv.png

    Anyone got a clue wtf is going on? Anything I can do?


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.