Support > Forums > OpenBots Studio > XPath Selenium Element Action
I try to click on an element in a web page, a radio button. I put the XPath, using Inspect function of Chrome, but OpenBots give me an error and I cannot click on "Ok" in the window "Add new command". The Xpath is //*[@id="ee"] , is it a format error?
This forum has 173 topics, 516 replies, and was last updated 10 months ago by Ehtesham Abad
Hello Marco,
you should be able to find the element as long as the indicated xpath is unique and stable. I can try to help you if you share more information, but in general, there should be no issues automating through the xpath.
Thank you, but I can't find a browser element, could openbots have problems with Javascript elements?
Hi Marco,
if you are using version 1.5.0 or higher, you need to format the xpath as a string (we use c# language inline). In this case, you would indicate it as: "//*[@id='ee']"
You are not authorized to reply, please click here to login and add your reply to this topic.