selenium-iedriver

Which is the compatible version of IEDriverServer for IE11 and Selenium 3.13?

喜欢而已 提交于 2019-12-25 03:37:21
问题 I am automating tests with IE11 and Selenium 3.13 and I was testing different version of IEDriverServer but every version has a bug. I want a stable version to combine IEDriverServer with IE11 and Selenium 3.13 I'm using this code to launch the application: private static WebDriver setRemoteDriver(Map<String, Object> selConfig) { String browser = System.getProperty("browser", selConfig.get("browser").toString()); capabilities = new DesiredCapabilities(); capabilities.setJavascriptEnabled(true

Unable to launch IE browser in selenium webdriver

随声附和 提交于 2019-12-18 13:29:03
问题 I have written a sample code to launch IE browser and load google page. public class Sample { public static void main(String[] args) { // TODO Auto-generated method stub System.setProperty("webdriver.ie.driver","H:/IEDriverServer.exe"); WebDriver driver=new InternetExplorerDriver(); driver.manage().window().maximize(); driver.manage().timeouts().implicitlyWait(10,TimeUnit.SECONDS); driver.get("http://www.google.com"); } } But when I run this script it launches browser and it gets closed

How to ignore zoom setting

China☆狼群 提交于 2019-12-18 09:28:23
问题 IE ignore zoom setting doesn't work, my code as below, why it doesn't work? I got the error message (selenium.common.exceptions.SessionNotCreatedException: Message: Unexpected error launching Internet Explorer. Browser zoom level was set to 125%. It should be set to 100%) from selenium.webdriver import Ie from selenium.webdriver.ie.options import Options opts = Options() opts.ignore_protected_mode_settings = True driver = Ie(options=opts) 回答1: No , while working with InternetExplorerDriver

java.net.ConnectException: Failed to connect to localhost error with Selenium 3.11.0 with IEDriverServer and IE 11 on Windows 10

那年仲夏 提交于 2019-12-12 09:47:32
问题 I am very new to selenium and trying to set up selenium in my laptop to begin. I am unable to invoke IE from my simple code. The details are given below. Can you please help me to understand where the issue is IE version: IE 11, IE Driver: 64-bit, OS: Windows 10 64 bit, Selenium version: 3.11 Error: Started InternetExplorerDriver server (64-bit) 3.9.0.0 Listening on port 29313 Only local connections are allowed Exception in thread "main" org.openqa.selenium.WebDriverException: java.net

C# Protractor AngularJS IEDriverServer Click() Exception “Timed out waiting for page to load”

杀马特。学长 韩版系。学妹 提交于 2019-12-12 01:57:02
问题 I'm using Protractor to test our AngularJS application (with both Chrome and IE drivers). The IEDriverServer works OK on most pages, except for this one page where pretty much all of the Click() event will result in an exception of "Timed out waiting for page to load." The IE driver options are set as follows: var ieOptions = new InternetExplorerOptions { BrowserCommandLineArguments = "-private", EnableNativeEvents = false, IgnoreZoomLevel = true,

Invalid capabilities in alwaysMatch: unhandledPromptBehavior is type boolean instead of string

爱⌒轻易说出口 提交于 2019-12-11 15:46:02
问题 I have upgraded my Selenium framework to the latest version. During execution of the code, I receive the following exception Exception : org.openqa.selenium.InvalidArgumentException: Invalid capabilities in alwaysMatch: unhandledPromptBehavior is type boolean instead of string Details : Selenium: 3.7.1 IE : 3.7.0 (32 Bit Driver) java.version: '1.8.0_144' Automation code works with my older IE Driver (32 Bit) - 3.4.0. Please suggest your view to resolve the error . capabilities.setCapability(

IEDriverServer sends text very slowly using Selenium to the search field

不羁岁月 提交于 2019-12-09 03:25:38
问题 I'm using selenium and python on windows7. My code: import os from selenium import webdriver # get the path of IEDriverServer #dir = os.path.dirname(__file__) #ie_driver_path = dir + "\IEDriverServer.exe" ie_driver_path = "C:\Python36\Scripts\IEDriverServer.exe" # create a new Internet Explorer session driver = webdriver.Ie(ie_driver_path) driver.implicitly_wait(30) driver.maximize_window() # create a new Firefox session #driver = webdriver.Firefox() #driver.implicitly_wait(30) #driver

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

别说谁变了你拦得住时间么 提交于 2019-12-08 04:21:26
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 fail after several hours I will get a browser popup saying Command line server for the IE Driver has

Sending '@' special character with SendKeys to IE 11

风流意气都作罢 提交于 2019-12-06 10:11:31
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 represents the keys with which the special signs are created in combination with the key Alt Gr (e.g. Alt Gr +

java.net.ConnectException: Failed to connect to localhost error with Selenium 3.11.0 with IEDriverServer and IE 11 on Windows 10

社会主义新天地 提交于 2019-12-06 03:12:27
I am very new to selenium and trying to set up selenium in my laptop to begin. I am unable to invoke IE from my simple code. The details are given below. Can you please help me to understand where the issue is IE version: IE 11, IE Driver: 64-bit, OS: Windows 10 64 bit, Selenium version: 3.11 Error: Started InternetExplorerDriver server (64-bit) 3.9.0.0 Listening on port 29313 Only local connections are allowed Exception in thread "main" org.openqa.selenium.WebDriverException: java.net.ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:29313 Build info: version: '3.11.0',