Unable to click on button (cannot find perfect xpath)

33 views
Skip to first unread message

Nishanth Nanchari

unread,
Feb 8, 2019, 4:02:19 AM2/8/19
to Selenium Users
Hello All,
There is Add Button in my Project I'm unable to get the perfect Xpath for that please help (Find the HTML below!!) 
HTML Code:
<span _ngcontent-c5="" class="glyphicon glyphicon-plus" data-target="#Create_User" data-toggle="modal" style="float:right;color:green;font-size:24px; padding-bottom:4px;"></span>

Abhishek Sharma

unread,
Feb 8, 2019, 4:10:45 AM2/8/19
to seleniu...@googlegroups.com
if possible take screenshot from Console and send. Otherwise try this ------  //span[@class="glyphicon glyphicon-plus"]

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/0a5d2bf6-2ebe-4d62-8e78-2e974ebac387%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Thanks & Regards

Abhishek Sharma (QA)
s2908abhishek (Skype)

Nishanth Nanchari

unread,
Feb 8, 2019, 4:15:54 AM2/8/19
to Selenium Users
Thank you Abhishek It worked !!

Abhishek Sharma

unread,
Feb 8, 2019, 4:17:31 AM2/8/19
to seleniu...@googlegroups.com
no problem dear 


For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages