How to check if a style has been applied in Selenium IDE

后端 未结 1 981
北海茫月
北海茫月 2021-01-18 17:50

I want to check if a particular style has been applied to an element. Preferably using the css selector.

EG:

         


        
相关标签:
1条回答
  • 2021-01-18 18:47

    Worked it out:

    command: assertAttribute or verifyAttribute
    Target : css=#my_div@style
    value : *display: block*
    

    The asterisk is a wild card.

    0 讨论(0)
提交回复
热议问题