Forums

Headless Chrome Selenium

Hey, I want to use headless chrome selenium, could you enable it for my account? Thanks!

Sure, that's done now. As a next step, you'll need to upgrade Selenium for your account -- for example, if you're using Python 3.7, run this in Bash:

pip3.7 install --user --upgrade selenium

...and then you can run Selenium with Chrome using code like this:

chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument("--headless")
chrome_options.add_argument("--disable-gpu")
browser = webdriver.Chrome(options=chrome_options)

try:
    browser.get("https://www.google.com")
    print("Page title was '{}'".format(browser.title))

finally:
    browser.quit()

Hi can you enable it for my account as well? Thanks

It's done for you.

I'm using free account rn. Can I get enabled chrome in my account? Or should I upgrade my plan?

No problem. I have enabled it for you, but with a free account, you will only be able to access sites on our whitelist

Hello there, Can i get my headless chrome activated? Thank you.

@HackmanGandalf -- I already answered you in another thread.