I am new to Katalon, just trying to click the pseudo element in the web page having the below webelement which was actually built on CSS styling I guess,
Yes, that’s the problem - before/after pseudo elements are effectively ghosts. JavaScript cannot click on a null object so that’s what it’s telling you.
But there’s always a way around this kind of thing in automation. Real humans can’t click on them either which brings up the question: What human action are you trying to automate?
I do not know, the same code is working in “Selenium tool”. Ultimate aim is to click against the checkbox against the text “I Agree to the HIPAA privacy notice” for the below URL “https://examain.viztek.net/KMHA/login”. I do not know what is the best solution, friends suggested me through javascript executor you can achieve it. I am expecting the understandable solution, because in the same application I have so many this pseudo elements. Whatever the best approach you suggest me.
Thanks
Hi,
I have pasted this form.login-form input#chkHipaaPrivacy + label in CSS selector and tried executing the script, still it’s clicking the text and not the check box.