I am trying to automate a web app using Selenium Webdriver. The app involves user opening a book which is rendered in either PDF or ePub format, it allows user to highlight the text which they prefer. I am having difficulty in creating steps for the action where user selects text and highlights it.
PS : Once the text is selected from front end, the system makes a backend call.