Skip to content

How to run headless mode while using SB #3065

Answered by mdmintz
randonbr asked this question in Q&A
Discussion options

You must be logged in to vote

Upgrade to the latest version of SeleniumBase. In your screenshot, is says your yield sb is on line 885. That's currently on line 995:

For UC Mode, make sure you're using Python 3.8 or newer. (You were using Python 3.7)

And as mentioned in #2932 (comment), headless mode is not supported for UC Mode anymore because PyAutoGUI requires a headed browser. That's not an issue on Linux if you add xvfb=True, which gives you a special virtual display so that you don't need headless mode anymore.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants