Issue in IE Browser

68 views
Skip to first unread message

pranab singh

unread,
Nov 20, 2017, 6:18:52 AM11/20/17
to seleniu...@googlegroups.com
Hi Folks,

I am having issues in IE browser.

1. The Scripts created is working fine in Chrome, Firefox and EDGE browser but in IE it gets stuck randomly. (Randomly means while running the Scripts in IE it fails sometimes in line no 10, again 11 ...12..13... and soo on.) Inconsistency state.
I have used java scripts to click on some of the elements and are working fine.


2.Opening a link should be opened in new tab but for me its opening in new Window.
My tab settings in IE is below::::::::::::

Inline image 2



3. Have opened a new tab in IE using the code driver.findElement(By.cssSelector("Body")).sendKeys(Keys.CONTROL + "t");
It opens up a new window and then waited for 5 seconds and printed the driver.getWindowHandles().size.
The size was only the one. Means the new tab was not been counted as the driver objects. Not able to switch to the new tab and provide url.
I even tried to navigate to the 2nd window and pass Urls but the url is passing in the 1st parent window itself.



Please i need some help on this.
Thanks in Advance.

Configuration::::::::::
Selenium 3.4
OS version Win10
IE version 64 bit and using 32 bit IEDriverServer , because the 64 bit IEDriverServer is too slow  to provide inputs in the text fields.




Pranab Singh

Jim Evans

unread,
Nov 20, 2017, 7:45:54 AM11/20/17
to Selenium Users
Once again, you cannot use new tabs in the IE driver. New “top-level browsing contexts” will be opened in new windows. This cannot be overridden by browser settings or driver settings. Moreover, attempts to “manually” override the behavior by using a keyboard shortcut or similar won’t work. The driver won’t be able to connect to and control the newly opened tab. This is the design of the driver and is not a bug therein.

pranab singh

unread,
Nov 23, 2017, 11:33:29 PM11/23/17
to seleniu...@googlegroups.com
Thanks Jim.


Regards
Pranab Kumar Singh

On Nov 20, 2017 6:16 PM, "Jim Evans" <james.h....@gmail.com> wrote:
Once again, you cannot use new tabs in the IE driver. New “top-level browsing contexts” will be opened in new windows. This cannot be overridden by browser settings or driver settings. Moreover, attempts to “manually” override the behavior by using a keyboard shortcut or similar won’t work. The driver won’t be able to connect to and control the newly opened tab. This is the design of the driver and is not a bug therein.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/a74b72fa-a5f5-47e6-bc36-bd6293626b97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages