This is my html source:

<div class="col s12">
    <input type="" class="filled-in"
           d="corresp-" data-class="jrnlCorrRef" data-note-
           class="jrnlCorrAff" data-selector=".//*[@class='jrnlCorrRef']
    [not(@data-track='del')]" data-type="checkBoxComponent" data-
           validate="requiredField" data-save-type="setCorrespondingAuthor"
           data-check-field="jrnlEmail" autocomplete="off" autocorrect="off"
           autocapitalize="off" spellcheck="false">
    <label
            for="correspcheckbox" style="margin-
    top:10px" contenteditable="false">Corresponding:
    </label>
    <div class="input-field">
        <span class="text-line"
              type="text" contenteditable="true" data-selector="//*
    [@dataid=.//*
    [@data-ref-type='corresp'][not(@data-track='del')]/@data-rid]|.//*
    [@class='jrnlEmail']" data-class="jrnlEmail" data-
              type="htmlComponent"
              data-email="true" data-parent="jrnlAuthorGroup"></span>
        <label
                for="email" contenteditable="false">Email
        </label>
    </div>
</div>

absolute from copy receives :

//[@id='compDivContent']/div/div[8]/div/div[2]/div[1]/div[5]/div/label

My own relative xpath not :

"//input[@class='filled-in']"



Source link https://sqa.stackexchange.com/questions/31994/--to-click-the-checkbox-error-throws-element-not-visible

LEAVE A REPLY

Please enter your comment!
Please enter your name here