webdriver-manager

Getting “Driver info: driver.version: unknown” while running scripts using protractor

僤鯓⒐⒋嵵緔 提交于 2021-02-05 07:17:05
问题 I am getting below error while executing the scripts in protractor. System info: host: '8888', ip: '88888', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.7', java.version: '14.0.1' Driver info: driver.version: unknown [13:13:08] E/launcher - WebDriverError: Timed out waiting for driver server to start. Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53' System info: host: '****', ip: '****', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10

Why isn't the 'chromedriver' executable in the PATH even after using ChromeDriverManager through Selenium and Python

偶尔善良 提交于 2021-01-28 13:32:13
问题 I'm trying to click the "Launch Earth" button with this block of code. from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager driver = webdriver.Chrome(ChromeDriverManager().install()) from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import Web from selenium.webdriver.support import expected_conditions as EC url = 'https://www.google.com/earth/' driver = webdriver.chrome() driver.get(url) wait = WebDriverWait(driver, 10)

How to stop protractor from downloading latest chromedriver?

杀马特。学长 韩版系。学妹 提交于 2021-01-27 05:54:28
问题 I am running E2E tests using Protractor on Bamboo. I got this error unknown error: Chrome failed to start: exited abnormally (unknown error: DevToolsActivePort file doesn't exist) Then I found that I had to downgrade to 2.37 version of Chromedriver. I found that here "https://github.com/angular/protractor/issues/4850" . I found a way to download a specific version of chromedriver here https://medium.com/@cnishina/webdriver-manager-a-node-module-c33a820f5eb . So I am using webdriver-manager

How to stop protractor from downloading latest chromedriver?

青春壹個敷衍的年華 提交于 2021-01-27 05:54:06
问题 I am running E2E tests using Protractor on Bamboo. I got this error unknown error: Chrome failed to start: exited abnormally (unknown error: DevToolsActivePort file doesn't exist) Then I found that I had to downgrade to 2.37 version of Chromedriver. I found that here "https://github.com/angular/protractor/issues/4850" . I found a way to download a specific version of chromedriver here https://medium.com/@cnishina/webdriver-manager-a-node-module-c33a820f5eb . So I am using webdriver-manager

protractor 2.5.4 E/launcher - session not created: This version of ChromeDriver only supports Chrome version 79

断了今生、忘了曾经 提交于 2020-03-26 04:46:15
问题 I have researched a lot and used many possible solutions mentioned in the various forums, none of them worked for me. I am trying to run this in CI/CD pipeline although able to run the protractor test cases in local and able to launch the browser but in CI/CD pipeline build it is failing below are the details i am using below postinstall under scripts in package.json "postinstall": "npm uninstall -g webdriver-manager protractor && npm install -g webdriver-manager protractor && webdriver

Error while downloading geckodriver during webdriver-manager update from jenkins

和自甴很熟 提交于 2020-01-16 11:42:49
问题 I am trying to run webdriver update from jenkins. I am downloading geckoDriver and chromeDriver. Chrome driver is downloading and unzipping properly. But gecko driver download is not working. However this is working fine from local. Issue occurs only in jenkins Command used: node_modules/protractor/bin/webdriver-manager update --ignore_ssl --proxy=http://proxy --versions.gecko=v0.25.0 --versions.chrome=78.0.3904.105 Firefox version in server: 60.9.0 Error: [16:23:13] I/http_utils - ignoring

Error while downloading geckodriver during webdriver-manager update from jenkins

Deadly 提交于 2020-01-16 11:42:27
问题 I am trying to run webdriver update from jenkins. I am downloading geckoDriver and chromeDriver. Chrome driver is downloading and unzipping properly. But gecko driver download is not working. However this is working fine from local. Issue occurs only in jenkins Command used: node_modules/protractor/bin/webdriver-manager update --ignore_ssl --proxy=http://proxy --versions.gecko=v0.25.0 --versions.chrome=78.0.3904.105 Firefox version in server: 60.9.0 Error: [16:23:13] I/http_utils - ignoring