How To Perform Right Click and Double Click in Selenium WebDriver

How To Perform Right Click and Double Click in Selenium WebDriver

Mukesh otwani

4 года назад

21,108 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

QA Tester
QA Tester - 18.01.2023 10:40

Double-click does not work for me using code below:
Actions act = new Actions(driver);
WebElement ele = driver.findElement(By.xpath("(//*[name()='image'])[1]"));
act.doubleClick(ele).perform();

Ответить
Chaitra DR
Chaitra DR - 24.07.2022 22:47

Hi...double click is not working when am trying to a record..record doesn't have any hyperlink.. could you pls provide an alternative

Ответить
Mukund Techq
Mukund Techq - 15.07.2022 20:36

Thank you

Ответить
Gurmeet Singh
Gurmeet Singh - 13.09.2021 20:42

Thanks for sharing it. Very helpful. One question : After rightclick, if I have to select one of the option, is that also possible to include them in these steps?

Ответить
3.V Audio & Video
3.V Audio & Video - 09.03.2021 00:44

Strange. I have the same code but it will not scroll into view for the double-click. I manually scroll into view when the script runs and then it works only. Only difference is that I am using Firefox.

Ответить
Project 876 Brogad
Project 876 Brogad - 23.01.2021 00:41

Can anyone point me to doc explaining the use of context (context.driver) in selenium vs (self.driver)?

Ответить
Avik Roy Choudhury
Avik Roy Choudhury - 24.11.2020 11:32

Hi Sir, thanks for the explanation. Is it possible to right click on a image in a webpage and select save image option using Actions class?

Ответить
rahul kumar
rahul kumar - 21.09.2020 08:23

what about perform() please try to explain also perform() and build() what they do

Ответить
Venkat Kothuri
Venkat Kothuri - 02.09.2020 21:09

Hi Mukesh, I'm facing Abstract method error when trying to do double click or any other operation using Actions class. Could you please help me in resolving this.
Thank you.

Ответить
Neeti Sharma
Neeti Sharma - 14.08.2020 06:13

Please share the URL which you have used in your videos for right click and double click operation

Ответить
prajkta pund
prajkta pund - 30.07.2020 10:12

Hello sir, I am not able to find out the xpath of the context menu elements. will you please tell me the process. eg: open Gmail->right click on any mail ->not able to find xpath for reply, reply all... etc of the context menu of email.

Ответить
swamy as
swamy as - 09.05.2020 14:45

Nice one :)

Ответить
akhil chowdary
akhil chowdary - 05.05.2020 16:42

hi mukesh,
every time when u talk about frames by index option is not working many applications ,the example you showed in the video also by index frame is not working

Ответить
Philodendron
Philodendron - 22.04.2020 10:14

Hi mukesh,
I want to know about ci/cd in real-time.. can you make vedio on that.thanks

Ответить
mike tyson Schwarzenegger Pradella
mike tyson Schwarzenegger Pradella - 22.04.2020 06:52

Hi Mukesh Sir, can please you option add legend?

Ответить
neeraj yadav
neeraj yadav - 22.04.2020 04:36

Hi Mukesh Sir, Can you upload a real-time scenario for hashmap , Vector in Selenium.

Ответить
Rakhi Sharma
Rakhi Sharma - 21.04.2020 19:14

Hello sir, can you please upload selenium tutorial with c#?

Ответить
Tanveer Syed
Tanveer Syed - 21.04.2020 18:02

Hi mukesh pls upload a video on hybrid framework and cucumber series from scratch

Ответить