Jan-27-2019, 10:51 AM
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 SecurityPhrase---right-btn-container---32k8- ">
<button type="button" class="btn btn-success btn btn-default">YES</button>
</div>
When I inspect the element via Developer Tools, I got this highlighted, thus I right-click on them and select Copy via XPath.
Then I paste into the script it become like this,
/html/body/div[1]/div/div/div[2]/div[2]/div/div/div/div/div[2]/div[2]/div/div[2]
Then I add a .click() event, but the .click is not triggered.
Any idea?
<button type="button" class="btn btn-success btn btn-default">YES</button>
</div>
When I inspect the element via Developer Tools, I got this highlighted, thus I right-click on them and select Copy via XPath.
Then I paste into the script it become like this,
/html/body/div[1]/div/div/div[2]/div[2]/div/div/div/div/div[2]/div[2]/div/div[2]
Then I add a .click() event, but the .click is not triggered.
Any idea?