cancel
Showing results for 
Search instead for 
Did you mean: 

Click on Pesudo element

Regular Contributor

Click on Pesudo element

<label for="yes-tc">
::before

 

I have click on this Pesudo element . Is this possible using XPath??

1 REPLY 1
Community Hero

Re: Click on Pesudo element

HI,

 

Yes, this should be possible.

.FindChildByXPath() method will return you the native DOM element and you should be able to call its native .click() method. (Note possible case-sensitivity that depends on the scripting language you are using.)

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors