question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[🚀 Feature]: Customized source matrix and Disable/Enable Switch in Selenium Manager

See original GitHub issue

Feature and motivation

It’s a great feature to provide such universal golden function within Selenium. It can be working well as expected. But do we have the possible to take a look below two feature proposals?

feature 1 – Customized source matrix No external configuration within SeleniumManager image And meanwhile, we also can’t find out such guide in --help or release blog. image

This is required for intranet or behind-firewall users, they might be facing issue as below log

11月 05, 2022 3:52:08 下午 org.openqa.selenium.remote.service.DriverService findExecutable
警告: Unable to obtain driver using Selenium Manager: Error running command: [C:\Users\Ian\AppData\Local\Temp\selenium-manager653129306572008581132864560872458\selenium-manager.exe, --driver, geckodriver]
Build info: version: '4.6.0', revision: '79f1c02ae20'
System info: os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.3'
Driver info: driver.version: FirefoxDriver

java.lang.IllegalStateException: The path to the driver executable The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see https://github.com/mozilla/geckodriver. The latest version can be downloaded from https://github.com/mozilla/geckodriver/releases

Many companies do not allow download binary from internet, they have engineering team to sync driver into internal artifactory, it would be great if we can configure the driver link mapping.

feature 2 – Enable/Disable switch From blog, seems the manager will detect PATH before download by default, but can we directly provide the switch in parameter to enable or disable manager as user’s mind?

Thanks.

Usage example

N/A

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
bonigarciacommented, Nov 6, 2022

@diemol Yes, if you want, we can create GitHub issues for the next features. So far, the roadmap is the Selenium Manager README, and also, we have a backlog with ideas about future development etc. at the end of the original Selenium Manager proposal document.

1reaction
diemolcommented, Nov 5, 2022

feature 1 – Customized source matrix

There will be a documentation page for Selenium Manager when it gets its first release out of the beta. Right now it is only being released as part of the bindings, but in the future it will be also released on its own. The features of supporting a proxy or a different download URL are part of the roadmap. However, we do not have those particular features public. @bonigarcia @titusfortner should we create GitHub issues for each one of the features we have planned for Selenium Manager?

feature 2 – Enable/Disable switch From blog, seems the manager will detect PATH before download by default, but can we directly provide the switch in parameter to enable or disable manager as user’s mind?

Right now, Selenium Manager will only be used as a fallback. This means if the user does not provide the driver location or if the driver is not present on the PATH, then it will be used.

I will close this issue as soon as we make the roadmap public.

Read more comments on GitHub >

github_iconTop Results From Across the Web

WebDriverManager - Boni García
WebDriverManager is an open-source Java library that carries out the management (i.e., download, setup, and maintenance) of the drivers ...
Read more >
Disable console output of webdriver using selenium in python
I'm trying to run a python program that uses Selenium and Chrome to analyze data from some websites. The problem I'm having is...
Read more >
Working with windows and tabs - WebDriver - Selenium
Create new window (or) new tab and switch · // Opens a new tab and switches to new tab driver. · # Opens...
Read more >
HTML Standard
HTML has a wide array of extensibility mechanisms that can be used for adding semantics in a safe manner: Authors can use the...
Read more >
Desired Capabilities in Selenium Testing With Examples
When we want to customize and configure the Desired Capabilities in Selenium WebDriver for Chrome, we need to invoke the ChromeDriver ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found