Skip to content

Mouse over event is not working in IE11 #8486

@arunvaidya

Description

@arunvaidya

🐛 Bug Report

I am using below code to do some mouse over actions for IE, but thats not happening.
Tried Robot classes as well still it didnt help.

if(BrowserType.INTERNETEXPLORER.equals(BrowserManager.INSTANCE.getBrowserType())) {
JLog.write("Navigating to menu items..");
new WebDriverWait(browser(), 100)
.until(ExpectedConditions.titleContains("Console"));
new Actions(browser())
.moveToElement(
new WebDriverWait(browser(), 100)
.until(
ExpectedConditions.elementToBeClickable(menu)))
.build().perform();

		    **new WebDriverWait(browser(), 40)
	        .until(
	            ExpectedConditions.elementToBeClickable(menu)).click();**
		  	
		    JLog.write("Successfully moved to Menu: "+menu.toString());
		    new Actions(browser())
		    .moveToElement(
		        new WebDriverWait(browser(), 40)
		        .until(
		            ExpectedConditions.elementToBeClickable(
		                menuItem)))
		    .build().perform();
		    
		    new WebDriverWait(browser(), 40)
		    .until(
		        ExpectedConditions.elementToBeClickable(
		            menuItem))
		    .click();
		    JLog.write("Successfully moved to MenuItem: "+menuItem.toString());
		  return true;
	  	}

Detailed steps to reproduce the behavior:

Expected behavior

The cursor should be moved to the menu item on the web page.

Test script or set of commands reproducing this issue

Provided the code above

Environment

OS: Windows 10
Browser: IE11
Browser version: 11.1932.16299.0
Browser Driver version:
Language Bindings version: JDK 11

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    D-IEJ-awaiting answerQuestion asked of user; a reply moves it to triage again

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions