Skip to content

Please help with remote webdriver #2965

@tann3r4k

Description

@tann3r4k

I'm just so sorry if this is nooby or not the place to ask questions but I'm new to using seleniumbase & selenium and I'm afraid I'm just going to have to ask anyway l0lz...

I'm trying to deploy my project and I just started up a remote chrome node on railway (https://railway.app/template/XXPeWN)

Is it possible to actually go ahead and use it with the driver I already have kinda like this??

    from seleniumbase import Driver
    from selenium.webdriver.common.by import By


    driver = Driver(uc=True,
                    headless2=True,
                    remote_url='https://standalone-chrome-production-9873.up.railway.app',
                    port=4444)

Also sorry if if this is the complete wrong thing to be using but I tried to run this on another django deployment and it told me:
Chrome not found! Install it first!
Please tell me the right approach if I'm trying to do this completely wrong

Appreciate it,
Tanner

Metadata

Metadata

Assignees

No one assigned

    Labels

    UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeduplicateThe answer/solution already exists somewherequestionSomeone is looking for answers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions