How To move physical mouse pointer in selenium and c

0 votes

I am using selenium and c#. I want to move my physical mouse pointer.

Actions action = new Actions(driver);

action.MoveByOffset(500, 500).ContextClick().Build().Perform();

//action.MoveToElement(element).ContextClick().Build().Perform();

My mouse pointer is not moving.

Jun 4, 2018 in Selenium by Martin
• 4,320 points
3,898 views

1 answer to this question.

0 votes

You can't show the mouse pointer moving and performing the task using the Actions Class. You should use Actions class only for emulating complex user gestures and but not for using the Keyboard or Mouse directly. You should use the Robot Class instead.

answered Jun 4, 2018 by Samarpit
• 5,910 points

Related Questions In Selenium

0 votes
1 answer

How to handle IE protected mode zone and zoom level setting in selenium C#

For changing the zoom level you can ...READ MORE

answered Feb 13, 2019 in Selenium by Priyaj
• 58,100 points
4,414 views
+1 vote
1 answer

How to perform mouse hovering in Selenium WebDriver (Java)?

You many not actually be able to ...READ MORE

answered Apr 3, 2018 in Selenium by nsv999
• 5,500 points

edited Aug 22, 2023 by Khan Sarfaraz 10,720 views
0 votes
1 answer

How to set Page Load Timeout using C# and Selenium Webdriver

Check this out C# WebDriver API now contains ...READ MORE

answered Aug 3, 2018 in Selenium by Samarpit
• 5,910 points
6,207 views
0 votes
1 answer

How to install and configure Gecko Driver in Selenium?

Hello Abhishek, follow these steps to install ...READ MORE

answered May 13, 2019 in Selenium by Anvi
• 14,150 points
2,557 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,500 points
13,567 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,084 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,910 points
7,178 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,840 views
0 votes
5 answers
0 votes
2 answers

How to open a browser window in full screen using Selenium WebDriver with C#

Hi , we have inbuilt method Maximize(). driver.Manage().Wind ...READ MORE

answered Sep 6, 2020 in Selenium by Sri
• 3,190 points
15,988 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP