My textbox is disabled, and it includes the following attributes:
<div
id="writingactivityId2" class="boxSize ng-pristine ng-untouched ng-valid ng-valid-required redactor_editor writingActivityDisabled" ng-focus="editing()" redactor="" readonly="" ng-model="workInProgress.wip" required="" contenteditable="false" dir="ltr" style="height: 300px;">
</div>
Additionally, it contains a child element:
<p>
Automated Test 04/03/2015 15:03:43
</p>
Is there a way to specifically select the word "Automated" or perform a double click/single click on it?
I attempted to target the webElement within the div
and p
tags. However, when I tried to double click, it ended up selecting the entire page instead of the desired text.