简体   繁体   中英

How to click a tab button

I have a JavaScript page in which there is a table row containing 4 horizontal buttons as tab menu.

How to click particular button in a row?

I tried with

$ie.div(:id, 'tab4').click

and

$ie.row(:text, 'tab4').cell(:index, 2)

but this does not work.

我不确定您使用的是哪个JavaScript框架,但是如果它类似于jquery,则单击将是一个函数调用。

$ie.div(:id, 'tab4').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