seleniumintellij-ideaxpathfacebook-messengerfacebook-messenger-bot

Is there any way how to click to the Facebook Messenger input field using xpath?


Is there any way how to click to the Facebook Messenger input field using xpath?

I tried

//*[contains(text(), 'Aa')]

but it does not work and there is nothing like input visible in the code.

I used sikuli images and it works when I use Idea to run the script but it does not work when I run it from Jenkins server and idk why the path to the images is correct..

Facebook Input Field

Any ideas on how to click to the input, please?


Solution

  • See if this works:-

    .//div[@aria-label='Aa']