10000 Unable to create driver when running a scenario · Issue #891 · znsio/teswiz · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Unable to create driver when running a scenario #891

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
aamisharora1 opened this issue Mar 19, 2025 · 7 comments
Open

Unable to create driver when running a scenario #891

aamisharora1 opened this issue Mar 19, 2025 · 7 comments

Comments

@aamisharora1
Copy link
Contributor

on triggering scenarios getting error in method create driver :

java.lang.NoSuchMethodError: 'org.openqa.selenium.manager.SeleniumManagerOutput$Result org.openqa.selenium.remote.service.DriverFinder.getPath(org.openqa.selenium.remote.service.DriverService, org.openqa.selenium.Capabilities)'
at org.openqa.selenium.chrome.ChromeDriver.generateExecutor(ChromeDriver.java:99)
at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:88)
at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:83)
at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:72)
at com.znsio.teswiz.runner.BrowserDriverManager.createChromeDriver(BrowserDriverManager.java:203)
at com.znsio.teswiz.runner.BrowserDriverManager.createWebDriver(BrowserDriverManager.java:178)
at com.znsio.teswiz.runner.BrowserDriverManager.createNewWebDriver(BrowserDriverManager.java:163)
at com.znsio.teswiz.runner.BrowserDriverManager.createWebDriverForUser(BrowserDriverManager.java:89)
at com.znsio.teswiz.runner.Drivers.createDriverForPlatform(Drivers.java:111)
at com.znsio.teswiz.runner.Drivers.createDriverFor(Drivers.java:75)
at com.znsio.teswiz.runner.Drivers.createDriverFor(Drivers.java:59)

teswiz version : 1.0.12 (71c7b13)
tried multiple teswiz versions but getting same issue
also tried running scenarios in teswiz directly on teswiz commit id 71c7b13
CONFIG=./configs/indigo/indigo_local_config.properties PLATFORM=web TAG=searchFlights ./gradlew run
got same issue.

@aamisharora1
Copy link
Contributor Author

hi @anandbagmar can you please check if this issue is reproducible or any more details are needed.

@anandbagmar
Copy link
Member

@aamisharora1 Can you share the full console logs with me? And also the teswiz log file

@aamisharora1
Copy link
Contributor Author

teswiz log file:
teswizSampleTestLog.log

Console logs :

teswizCreateSessionFailLog.log

@anandbagmar
Copy link
Member

@aamisharora1 Try with this version - 81413b3 and let me know

@anandbagmar
Copy link
Member

@aamisharora1 - This is the latest teswiz id - e9025e4 and it is working

@aamisharora1
Copy link
Contributor Author

@anandbagmar facing same issue when used this commit id in project ( e9025e4 )

teswizSampleTestLog.log

teswizCreateSessionFailLog.log

@anandbagmar
Copy link
Member

@aamisharora1 The tests are running in Github CI - so the problem may be something local to your execution environment.

  1. What is the browser version you are using?
  2. Is the browser on the local machine, or in docker, or in any browser farm?
  3. Is this happening for other users or other machines as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0