I/O Exception and Unable to find element In IE using Selenium Webdriver

Dinu

The below code works fine with Firefox and chrome but shows errors when executed in IE.

System.setProperty("webdriver.ie.driver", "G:\\Selenium\\IEDriver\\IEDriverServer.exe");
    WebDriver driver=new InternetExplorerDriver();
    driver.get("https://www.google.co.in/?gws_rd=cr&ei=ZDziUrLDEuLpiAeD44H4BA");
    driver.findElement(By.name("q")).sendKeys("Selenium");

The error displayed is I/O exception (java.net.SocketException) caught when processing request: Software caused connection abort: recv failed Jan 24, 2014 3:44:04 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute INFO: Retrying request Exception in thread "main" org.openqa.selenium.NoSuchElementException:

Dinu

The problem was with my IE settings. The problem was resolved when the security settings in IE was changed to "Enable Protected Mode" for "Internet", "Local Intranet", "Trusted Sites" and "Restricted Sites". You can change it by going to Internet Options security tab and enable check box "Enable Protected Mode" for all the zones. I was able to get these information from the link http://jimevansmusic.blogspot.in/2012/08/youre-doing-it-wrong-protected-mode-and.html

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Selenium Webdriver IE could not find element

From Dev

Unable to launch IE browser using Selenium Webdriver

From Dev

Without Thread.sleep Webdriver IE will give “unable to find element” exception

From Dev

Unable to locate the Element on Canvas using Selenium WebDriver

From Dev

Unable to access element of the dropdown using selenium webdriver

From Dev

Find Element By Text Using Selenium WebDriver

From Dev

Unable to find element in the table using Selenium Webdriver when automating Dynamics 365 CRM

From Dev

Selenium Webdriver - Unable to find element after page refresh/redirect

From Dev

Selenium Webdriver - Unable to find element after page refresh/redirect

From Dev

Selenium Webdriver: Element Not Visible Exception

From Dev

Unable to click on element - Selenium WebDriver

From Dev

URL Malformed exception in Selenium WebDriver using Java to find the broken links

From Dev

Selenium WebDriver: unable to locate element inside iframe using TinyMCE editor

From Dev

Unable to locate element - Automating a website in different locales using selenium webdriver

From Dev

Unable to find name from Select List using Selenium WebDriver

From Dev

Selenium WebDriver cannot find element

From Dev

Selenium Unable to Find Element

From Dev

Selenium Unable to Find Element

From Dev

Selenium WebDriver Stale Element Reference Exception for GWT

From Dev

Selenium WebDriver: unable to locate element (C#)

From Dev

Unable to change value to element dynamically in Selenium Webdriver

From Dev

Selenium webdriver - unable to locate an element on youtube

From Dev

Selenium WebDriver Unable to locate element in link

From Dev

Unable to open IE11 driver instance using Selenium WebDriver with Java

From Dev

Unable to locate element using selenium webdriver even when the element id exists

From Dev

Unable to find button element SELENIUM

From Dev

Selenium unable to find element SOMETIMES

From Dev

Unable to find button element SELENIUM

From Dev

How to find an Element by index in selenium webdriver for java

Related Related

  1. 1

    Selenium Webdriver IE could not find element

  2. 2

    Unable to launch IE browser using Selenium Webdriver

  3. 3

    Without Thread.sleep Webdriver IE will give “unable to find element” exception

  4. 4

    Unable to locate the Element on Canvas using Selenium WebDriver

  5. 5

    Unable to access element of the dropdown using selenium webdriver

  6. 6

    Find Element By Text Using Selenium WebDriver

  7. 7

    Unable to find element in the table using Selenium Webdriver when automating Dynamics 365 CRM

  8. 8

    Selenium Webdriver - Unable to find element after page refresh/redirect

  9. 9

    Selenium Webdriver - Unable to find element after page refresh/redirect

  10. 10

    Selenium Webdriver: Element Not Visible Exception

  11. 11

    Unable to click on element - Selenium WebDriver

  12. 12

    URL Malformed exception in Selenium WebDriver using Java to find the broken links

  13. 13

    Selenium WebDriver: unable to locate element inside iframe using TinyMCE editor

  14. 14

    Unable to locate element - Automating a website in different locales using selenium webdriver

  15. 15

    Unable to find name from Select List using Selenium WebDriver

  16. 16

    Selenium WebDriver cannot find element

  17. 17

    Selenium Unable to Find Element

  18. 18

    Selenium Unable to Find Element

  19. 19

    Selenium WebDriver Stale Element Reference Exception for GWT

  20. 20

    Selenium WebDriver: unable to locate element (C#)

  21. 21

    Unable to change value to element dynamically in Selenium Webdriver

  22. 22

    Selenium webdriver - unable to locate an element on youtube

  23. 23

    Selenium WebDriver Unable to locate element in link

  24. 24

    Unable to open IE11 driver instance using Selenium WebDriver with Java

  25. 25

    Unable to locate element using selenium webdriver even when the element id exists

  26. 26

    Unable to find button element SELENIUM

  27. 27

    Selenium unable to find element SOMETIMES

  28. 28

    Unable to find button element SELENIUM

  29. 29

    How to find an Element by index in selenium webdriver for java

HotTag

Archive