selenium-iedriver

org.openqa.selenium.NoSuchWindowException: Unable to get browser while trying to open Internet Explorer 11 through Selenium and IEDriverServer

耗尽温柔 提交于 2020-03-11 14:53:08
问题 I'm unable to launch Internet Explorer browser with the selenium webdriver. Facing the below error, can anyone please help Error occured: Started InternetExplorerDriver server (32-bit) 3.14.0.0 Listening on port 45640 Only local connections are allowed Aug 06, 2019 3:32:27 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: W3C Exception in thread "main" org.openqa.selenium.NoSuchWindowException: Unable to get browser Build info: version: '3.141.59', revision

Selenium performance with InternetExplorerDriver and IE11

点点圈 提交于 2020-02-06 07:58:35
问题 I am facing a very slow response when running my scripts on IE11. Sometimes, I get FocusWindowsClosed , ElementIsNotClickable . I have changed the zoom settings for all zones, created feature BFCACHE for IE in feature control, added capabilities into my code but nothing works for me. If anyone has any idea why I am facing this issue. Do i need to downgrade window or IE versions? I have also downloaded the same version of selenium client server with same IEDriver which is (3.8.0). 回答1: To

Selenium performance with InternetExplorerDriver and IE11

喜夏-厌秋 提交于 2020-02-06 07:58:09
问题 I am facing a very slow response when running my scripts on IE11. Sometimes, I get FocusWindowsClosed , ElementIsNotClickable . I have changed the zoom settings for all zones, created feature BFCACHE for IE in feature control, added capabilities into my code but nothing works for me. If anyone has any idea why I am facing this issue. Do i need to downgrade window or IE versions? I have also downloaded the same version of selenium client server with same IEDriver which is (3.8.0). 回答1: To

Setting up selenium to work with internet explorer

ε祈祈猫儿з 提交于 2020-01-23 16:17:00
问题 I have created a python script that I can execute and does exactly what I want under the Google Chromedriver. However, to make sure that my executable can work on all PCs, I would like to have my script work with the internet explorer driver but I am having issues. I have attached a sample test code I am trying to run below along with the error message I am receiving. from selenium import webdriver driver = webdriver.Ie() driver.get("google.com") And the error code I am receiving is: selenium

Setting up selenium to work with internet explorer

半世苍凉 提交于 2020-01-23 16:16:12
问题 I have created a python script that I can execute and does exactly what I want under the Google Chromedriver. However, to make sure that my executable can work on all PCs, I would like to have my script work with the internet explorer driver but I am having issues. I have attached a sample test code I am trying to run below along with the error message I am receiving. from selenium import webdriver driver = webdriver.Ie() driver.get("google.com") And the error code I am receiving is: selenium

Selenium - random “Command line server for the IE Driver has stopped working” after several hours

纵然是瞬间 提交于 2020-01-14 05:07:29
问题 I have several hundred selenium tests for my company's e-commerce site. In particular, about half of them is checkout testing with small variances (singleship with visa, multiship with amex, etc). I mention this because all of these tests use almost the exact same code, just with slight differences. These tests are kicked off from Jenkins using Selenium Grid as a hub and being deployed to a Windows Server 2012 VM running Chrome and IE tests simultaneously. After kicking off my tests, without

Selenium - random “Command line server for the IE Driver has stopped working” after several hours

左心房为你撑大大i 提交于 2020-01-14 05:07:04
问题 I have several hundred selenium tests for my company's e-commerce site. In particular, about half of them is checkout testing with small variances (singleship with visa, multiship with amex, etc). I mention this because all of these tests use almost the exact same code, just with slight differences. These tests are kicked off from Jenkins using Selenium Grid as a hub and being deployed to a Windows Server 2012 VM running Chrome and IE tests simultaneously. After kicking off my tests, without

How to use Sendkeys() without finding element on web page when element is already focused and waiting for input

南笙酒味 提交于 2020-01-04 01:52:12
问题 I'm trying to write a simple Java based selenium code where I would load a page, give the desired values to username & password and login to web page. Now once the web page loads it automatically waits for user to enter username i.e username is already focused. So can I send the keys to this already focused element. Once I have given the input to username I could use TAB to select the next input i.e. password and then TAB again to select the Login button. 回答1: Try this - WebElement

Sending '@' special character with SendKeys to IE 11

坚强是说给别人听的谎言 提交于 2020-01-02 18:06:08
问题 I'm trying to send a special character to a textbox using the SendKeys method in Internet Explorer 11. I didn't have this problem while trying to send special characters in other browsers, but Internet Explorer is sending completely different characters when trying to send special characters. Most of the specials characters do work (e.g. !#()$%&/) but the characters like @{}§ are not working, and instead of those characters, something like vbnm is written in the textbox. These letters

Using Selenium 2's IWebDriver to interact with elements on the page

故事扮演 提交于 2020-01-01 09:54:20
问题 I'm using Selenium's IWebDriver to write Unit Tests in C#. Such is an example: IWebDriver defaultDriver = new InternetExplorerDriver(); var ddl = driver.FindElements(By.TagName("select")); The last line retrieves the select HTML element wrapped in a IWebElement . I need a way to simulate selection to a specific option in that select list but I can't figure out how to do it. Upon some research, I found examples where people are using the ISelenium DefaultSelenium class to accomplish the