tryolabs/requestium

Browser opens, but does not go to desired page

CarlosHGL opened this issue · 1 comments

I have a problem, I wanted to run on chromium which is much lighter for my potato pc, but when I go to the link of the page I want it to go to, the browser stops at a page "data;" and the process dies, the code is just this one below.

from requestium import Session, Keys
from selenium import webdriver


def browser_configs():
    browserPath = "Droptator\chrome-win\chrome.exe"

    option = webdriver.ChromeOptions()
    option.binary_location = browserPath
    driverPath = "Droptator\drivers\chromedriver.exe"
    browser = webdriver.Chrome(executable_path=driverPath, chrome_options=option)

    browser.maximize_window()

    return browser

drive = browser_configs()

session = Session(
    driver=drive,
)

session.get("https://www.exemple.com/")

This sounds like a problem with Selenium itself, I'd check with them first.