Missing elements when using selenium chrome driver to automatically 'Save as PDF'
--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Realization
--
Chapters
00:00 Missing Elements When Using Selenium Chrome Driver To Automatically 'Save As Pdf'
01:29 Accepted Answer Score 4
01:54 Thank you
--
Full question
https://stackoverflow.com/questions/5494...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #seleniumwebdriver #seleniumchromedriver
#avk47
    Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Realization
--
Chapters
00:00 Missing Elements When Using Selenium Chrome Driver To Automatically 'Save As Pdf'
01:29 Accepted Answer Score 4
01:54 Thank you
--
Full question
https://stackoverflow.com/questions/5494...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #seleniumwebdriver #seleniumchromedriver
#avk47
ACCEPTED ANSWER
Score 4
So, through fiddeling around, I came by the solution by accident. I don't really understand why, but enabling the 'PrintBrowser mode' ("Enables PrintBrowser mode, in which everything renders as though printed.") solves the issue. This may or may have to do with CSS loading properly.
I just need to add chrome_options.add_argument('--enable-print-browser') and all elements are there!