Skip to content

[🐛 Bug]: selenium-manager.exe bug #14941

@dl2458697735

Description

@dl2458697735

What happened?

I have another question. When creating an instance based on the driver, this program is called. Why does it sometimes get results quickly and sometimes slowly
selenium-manager.exe --browser chrome --language-binding javascript --output json

How can we reproduce the issue?

const {Browser, Builder, By, Key, until} = require('selenium-webdriver');
const chrome = require('selenium-webdriver/chrome');
const {getBinaryPaths} = require("selenium-webdriver/common/driverFinder");

async function getDriver(driverName = Browser.CHROME) {
    try {

        let options = new chrome.Options();
        //options.setBrowserVersion("stable");
        options.addArguments('--start-maximized');

        let paths = getBinaryPaths(options)
        console.log(paths)
        let driverPath = paths.driverPath;
        let browserPath = paths.browserPath;

        options.setChromeBinaryPath(browserPath);

        let service = new chrome.ServiceBuilder("D:/DL/dsy/dsy_client/rpa/chromedriver.exe");

        let driver = await new Builder()
            .forBrowser(driverName)
            .setChromeOptions(options)
            .setChromeService(service)
            .build();

        return driver;
    } catch (error) {
        throw error;
    }
}

Relevant log output

no log

Operating System

win11

Selenium version

js

What are the browser(s) and version(s) where you see this issue?

chrome 131

What are the browser driver(s) and version(s) where you see this issue?

chromedriver131

Are you using Selenium Grid?

"selenium-webdriver": "^4.27.0"

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-questionApplied to questions. Issues should be closed and send the user to community resources.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions