selenium-iedriver

How to fix the slow sendkeys on IE 11 with Selenium Webdriver 3.0.0?

穿精又带淫゛_ 提交于 2019-11-28 11:33:17
Firefox and chrome is working fine but with IE 11, the sendkeys are extremely slow. How do you fix this issue ? My Environment: Running IE 11.103 Operating System Windows 10 I'm using eclipse(Version: Neon Release (4.6.0)) with java 1.8 selenium Webdriver 3.0.0 In my environment: WIN 10, selenium 3.4, IE64 I set: Internet Options → Advanced → Security → ☑ Enable 64-bit processes for Enhanced Protected Mode Shaun Cromie After a lot of reading online and experimenting I had to set my path to point to my web-driver Right Click on my Computer , then select "Advanced system settings", then click

Internet Explorer 11 getting stuck randomly while executing tests through IEDriverServer and Selenium

醉酒当歌 提交于 2019-11-27 16:26:52
I'm having issues that IE version 11 stuck randomly on some page. the code is working fine because whenever i restart the program sometimes it work but the most annoying will be randomly stuck after click and load the page. is this normal on IE? i never had this type of issues when using Chrome. but this website works only at IE. can i know the cause of this problem is it the driver?, the website itself? or Network security? While you work with Internet Explorer v11 you need to configure your test framework with the Required Configuration . Apart from these specifically only for IE 11 you will

Selenium InternetExplorerDriver doesn't get focus on the window

风格不统一 提交于 2019-11-27 09:52:08
My project includes Selenium webdriver, JAVA, Maven, TestNG, Jenkins, Allure (reports). I have a few suites of tests with 100+ test cases, and I iterate them through 3 different browsers (the tests run in parallel using TestNG). There is one test that can't pass unless I am actually watching the window and see the test run. I will explain: what am I trying to test? our JS developers created a feature that only if the user has focus on the window, then a image slideshow will start to move and change images. On Firefox and Chrome it pass great- I don't need to see the test. The focus can be on

Internet Explorer Protective mode setting and Zoom levels

橙三吉。 提交于 2019-11-27 09:49:29
using System; using OpenQA.Selenium.IE; using OpenQA.Selenium.Remote; using OpenQA.Selenium; namespace CSharpAutomationFramework.Tests { public class BrowserSource { var options = new InternetExplorerOptions(); options.IntroduceInstabilityByIgnoringProtectedModeSettings = true; public bool IgnoreZoomLevel { get; set; } public bool IntroduceInstabilityByIgnoringProtectedModeSettings { get; set; } InternetExplorerDriver protectivemode = new InternetExplorerDriver(options); InternetExplorerOptions options = new InternetExplorerOptions(); options.IntroduceInstabilityByIgnoringProtectedModeSettings

Internet Explorer 11 getting stuck randomly while executing tests through IEDriverServer and Selenium

北慕城南 提交于 2019-11-27 08:29:25
问题 I'm having issues that IE version 11 stuck randomly on some page. the code is working fine because whenever i restart the program sometimes it work but the most annoying will be randomly stuck after click and load the page. is this normal on IE? i never had this type of issues when using Chrome. but this website works only at IE. can i know the cause of this problem is it the driver?, the website itself? or Network security? 回答1: While you work with Internet Explorer v11 you need to configure

How to fix the slow sendkeys on IE 11 with Selenium Webdriver 3.0.0?

﹥>﹥吖頭↗ 提交于 2019-11-27 06:17:35
问题 Firefox and chrome is working fine but with IE 11, the sendkeys are extremely slow. How do you fix this issue ? My Environment: Running IE 11.103 Operating System Windows 10 I'm using eclipse(Version: Neon Release (4.6.0)) with java 1.8 selenium Webdriver 3.0.0 回答1: In my environment: WIN 10, selenium 3.4, IE64 I set: Internet Options → Advanced → Security → ☑ Enable 64-bit processes for Enhanced Protected Mode 回答2: After a lot of reading online and experimenting I had to set my path to point

How to ignore protected Mode Settings for Internet Explorer using setCapability() through Selenium and Java?

≯℡__Kan透↙ 提交于 2019-11-26 23:12:16
I am trying to test in java selenium with IE but my problem is I have to keep on configuring the settings in protected Mode, is the an alternative to the deprecated function WebDriver driver = new InternetExplorerDriver(cap); As I would like to have this automated without human interaction. I am using this code in eclipse and it has no effect at all in my code the above is stroked out with a yellow line highlighter and that says it has been deprecated. So is there a new function to achieve this here is the code I have been using just for sanity check DesiredCapabilities cap =

HTTP Status: '500' -> incorrect JSON status mapping for 'timeout' (408 expected) while clicking element with IEDriverServer Selenium and Java

孤者浪人 提交于 2019-11-26 18:43:16
问题 Below are the details related to my flow - Page - 1 - Login to Web page After login, a URL Appears (Lets call it Element 1) After clicking Element 1, web page loads again and there I need to click on a different element, (Lets call it Element 2). Problem - Driver gets stuck, either Element 1 is not getting clicked or after adding sufficient wait Element 1 gets clicked but now driver gets stuck at this flow as you can observe from below code, once clickurl.click() is called then after 10

Selenium InternetExplorerDriver doesn't get focus on the window

梦想的初衷 提交于 2019-11-26 17:52:30
问题 My project includes Selenium webdriver, JAVA, Maven, TestNG, Jenkins, Allure (reports). I have a few suites of tests with 100+ test cases, and I iterate them through 3 different browsers (the tests run in parallel using TestNG). There is one test that can't pass unless I am actually watching the window and see the test run. I will explain: what am I trying to test? our JS developers created a feature that only if the user has focus on the window, then a image slideshow will start to move and

“OsProcess checkForError : CreateProcess error=193, %1 is not a valid Win32 application” while starting Internet Explorer through Java and Selenium

时间秒杀一切 提交于 2019-11-26 14:54:29
问题 I am working with Selenium Driver in Eclipse (Java), I want to create a driver to test a Internet Explorer page and I keep getting this error message , my driver works fine with firefox and chrome but with explorer I cannot test anything System.setProperty("webdriver.ie.driver", "C:\\Users\\emorales\\Documents\\MicrosoftWebDriver.exe"); //set webdriver to explorer test WebDriver driver = new InternetExplorerDriver(); //metodo para obtener url driver.get("http://google.com"); System.out