chrome-web-driver

Webdriver exception: “chrome not reachable”

妖精的绣舞 提交于 2019-11-28 10:14:17
I am running selenium test cases in a ubuntu server which basically runs testcases in both firefox and chrome. Firefox launches and test cases run successfully but chrome throws exception: *****below is the snippet of the stacktrace:***** Starting ChromeDriver (v2.8.240825) on port 21549 PAC support disabled because there is no system implementation Test IntegrationTest.AdminUserelementscheck failed: org.openqa.selenium.WebDriverException: chrome not reachable (Driver info: chromedriver=2.8.240825,platform=Linux 2.6.32-431.el6.x86_64 x86_64) (WARNING: The server did not provide any stacktrace

Is there any way to optimize / speed up the sending of data to a UI with Protractor?

不羁的心 提交于 2019-11-27 16:07:35
问题 I have code similar to this: ExamPage.prototype.enterDetailsInputData = function (modifier) { page.sendKeys(this.modalExamName, 'Test Exam ' + modifier); page.sendKeys(this.modalExamVersionId, 'Test exam version ' + modifier); page.sendKeys(this.modalExamProductVersionId, 'Test exam product version ' + modifier); page.sendKeys(this.modalExamAudienceId, 'Test exam audience ' + modifier); page.sendKeys(this.modalExamPublishedId, '2014-06-1' + modifier); page.sendKeys(this.modalExamPriceId, '100

ChromeDriver showing Lost UI Shared Context

烂漫一生 提交于 2019-11-27 09:28:40
I have a Windows 10 laptop running a Windows 7 Virtual Machine. Inside the Virtual Machine, when i start the WebDriver, it gives the error gpu_process_transport_factory.cc<1009> Lost UI shared context when it is started: IWebDriver driver = new ChromeDriver() //This causes the 1009 Error Also then varies for Failed to query stereo recording and Failed to send GpuChannelMsg_CreateCommandBuffer and command_buffer_proxy_impll.cc<115> Shared memory handle is not valid . This has been working for months and no changes were made (this WebDriver is the sole purpose of the Virtual Machine), the laptop

ChromeDriver error “unknown error: cannot get automation extension”

非 Y 不嫁゛ 提交于 2019-11-27 06:34:49
问题 Since the 7th of February all my tests are failing with the same error; the log entry reads: RESPONSE MaximizeWindow unknown error: cannot get automation extension from unknown error: page could not be found: chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_background_page.html (Session info: chrome=57.0.2987.21) I'm not sure if this is caused by a Chrome update or something else - the message is vague enough as it is. EDIT : I am using C#, and the latest Chromedriver. 回答1: You

Webdriver exception: “chrome not reachable”

非 Y 不嫁゛ 提交于 2019-11-27 03:30:44
问题 I am running selenium test cases in a ubuntu server which basically runs testcases in both firefox and chrome. Firefox launches and test cases run successfully but chrome throws exception: *****below is the snippet of the stacktrace:***** Starting ChromeDriver (v2.8.240825) on port 21549 PAC support disabled because there is no system implementation Test IntegrationTest.AdminUserelementscheck failed: org.openqa.selenium.WebDriverException: chrome not reachable (Driver info: chromedriver=2.8

Official locator strategies for the webdriver

帅比萌擦擦* 提交于 2019-11-26 01:17:11
问题 In the official W3c webdirver documentation, it\'s clearly stated that the location strategies are: State Keyword CSS selector \"css selector\" Link text selector \"link text\" Partial link text selector \"partial link text\" Tag name \"tag name\" XPath selector \"xpath\" However, Selenium\'s wire protocol allowed: class name css selector id name link text partial link text tag name xpath In THEORY, Selenium\'s docs are obsolete and the \"real\" story is in the new spec document. However... I