Brian121212
Brian121212

Reputation: 306

Actions class for mouseover?

I want to mousover in order to click a menu item that appears. I read about the Actions class to use

Actions builder = new Actions(driver);

However it doesn't work for me because I get type or namespace not found. I am importing

using System;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;

Upvotes: 0

Views: 670

Answers (1)

JimEvans
JimEvans

Reputation: 27486

You need to add

using OpenQA.Selenium.Interactions;

to your import list. It's a little surprising that Visual Studio's Intellisense didn't pick this up for you, but that should get you on your way.

Upvotes: 1

Related Questions