简体   繁体   中英

How to clickRight in selenium dont use javascript and fireevent?

I have one contextmenu and i want to clickRight in selenium test. i try to use fireEvent but im failed. and i dont know java script. So how to do clikright in selenium.

thanks

使用selenium.contextMenu(locator)

Have you tried the recording feature of the ide? What code does it produce?

Search the forum and you find: Selenium IDE - record right click

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM