Questions tagged [webdriver-manager]

Webdriver-manager is a binary manager for end-to-end testing for both web and mobile. Webdriver-manager is a tool used for downloading and starting the selenium standalone server in Protractor end-to-end tests.

Webdriver-manager is a binary manager for end-to-end testing for both web and mobile used in tests.

Resources

240 questions
0
votes
0 answers

Could not start a new session. Response code 500. Message: unknown error: Chrome failed to start: crashed

I have recently updated my selenium framework to work with WebDriver manager. Previously, I was manually setting up the chromedrivers/ gecko driver versions as per my use. I am facing this error when I try to run my test in CICD pipeline (GitLab…
0
votes
0 answers

Getting WebManager Exception: HttpHostConnectException while using Webdriver manager

io.github.bonigarcia.wdm.config.WebDriverManagerException: io.github.bonigarcia.wdm.config.WebDriverManagerException: org.apache.hc.client5.http.HttpHostConnectException: Connect to https://chromedriver.storage.googleapis.com:443 Although I am…
0
votes
1 answer

DriverManager behaves differently in derived tests from Project A and Project B

I've a C# automation Solution and I have 2 project in it: Project A contains a BaseTest class which creates a driver using DriverManager, and a test class ProjectATest that derives from BaseTest class. Project B contains a test class ProjectBTest…
I.sh.
  • 252
  • 3
  • 13
0
votes
1 answer

webdriver-manager getting error as executable

I have a python script which uses ChromeDriverManager().install() for getting the latest chromedriver. A snippet of the code: def get_location(): exe_path = "C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe" service =…
user20084690
0
votes
0 answers

Any idea of how can I include Selenium on a AEM project?

NoSuchMethodError com.google.common.collect.ImmutableMap when trying to create an instance of a Chrome driver on a AEM Maven archetype project. So I'm trying to use Selenium on a AEM Maven archetype project but doing just a simple test I'm getting…
0
votes
1 answer

Selenium - can't assign new Browser driver element to WebDriverManager

I created a new class called BrowserDriverFacory.java and I have following errors? Why can't I assign the drivers to set method? package com.herokuapp.chatnwritecli.base; import org.openqa.selenium.WebDriver; import…
bogdan-cmd
  • 45
  • 7
0
votes
0 answers

Python, problem with selenium, chrome detach option working in pycharm but not with the final exe version

this is my first time using this forum, so please bear with me if I make any mistakes. I recently made a project using python v3.11 and selenium, i DIDN'T want the browser to close after the automatic tasks so i wrote the chromeOptions():…
0
votes
1 answer

NullPointerException Cannot invoke "org.openqa.selenium.SearchContext.findElement(org.openqa.selenium.By)" because "this.searchContext" is null

I am encountering a java.lang.NullPointerException error when trying to run my Selenium test with TestNG. The error message states: Cannot invoke "org.openqa.selenium.SearchContext.findElement(org.openqa.selenium.By)" because "this.searchContext" is…
0
votes
1 answer

why my driver is not invoking when called by a constructor?

I created a POM structure where driver is initialized in the main class and called in page classes using constructor. The problem is that the url is also passed from one of a page class called s1 landing page but its not invoking, only chrome is…
0
votes
0 answers

Chrome or Firefox is not launched using Maven and skips the test, no error is shown and maven is found as build success

I am unable to launch browser where my test skips and no error is shown public class BasePage{ public static WebDriver driver; public void WebDriver initalizeDriver(String browserType){ try{ switch(browserType){ case "Chrome": …
0
votes
2 answers

WebDriver-Manager not updating chromedriver

I am struggling with chromedriver for Selenium. Ever since the new version of Chrome was released it stopped working even though I was using WebDriver Manager by Boni Garcia which is meant to update it automatically. Currently whenever I run it,…
0
votes
1 answer

Do I need to install Microsoft Edge on Mac machine for tests to run?

Steps done: I downloaded https://github.com/bonigarcia/webdrivermanager and checkout to 5.0.3 tag. Webdrivermanager is a library that handles downloading drivers for running tests on different browsers. Came here because I was experimenting an issue…
Rauññ
  • 378
  • 3
  • 17
0
votes
0 answers

Selenium webdriver_manager behind VPN using Python gives connection error

I am using Selenium webdriver_manager behind VPN using Python gives and it gives me connection error. I have the proxy details, can you pls help to implement it? I used the following python script ehich dowloads the driver and starts it: from…
0
votes
1 answer

Fatal Python error: Cannot recover from stack overflow error using Selenium and ChromeDriverManager

My code worked fine until a few days ago. But now I'm facing an error as follows: Fatal Python error: Cannot recover from stack overflow with the minimal code: Error: What's the cause of the sudden errors?
0
votes
0 answers

Chrome window pops up when saving .py files AFTER installing webdriver-manager

I am facing a curious problem, that chrome will start and shows for a couple of seconds before closing when i use VS Code and save a .py file. This happens over and over again. I first thought this is caused by an VSC extension or maybe Black…
ngn16920
  • 67
  • 7